Function at 0x10024350
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079493
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x290
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x298], ecx
push str.CMYDownloadProc::HandleDownloadFinished_Start
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
lea ecx, [ebp - 0x250]
call fcn.100262b0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x260]
call fcn.1004c1bc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1002441d
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult___ENUM_DOWNLOAD_RESULT_SUCCESS
mov ecx, dword [ebp - 0x298]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
add esp, 8
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.100229c0
mov dword [ebp - 0x284], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.1004c2b8
mov eax, dword [ebp - 0x284]
jmp 0x100247a7
mov edx, dword [ebp - 0x298]
mov ecx, dword [edx + 0x70]
call fcn.100203e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0x70]
call fcn.100211e0
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x14], 0
je 0x1002455c
cmp dword [ebp - 0x264], 0
jle 0x1002455c
lea ecx, [ebp - 0x26c]
call fcn.1004b241
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 0xb042
push 0
mov ecx, dword [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x298]
add ecx, 0x40
call fcn.100136c0
push eax
lea ecx, [ebp - 0x260]
call fcn.1004c601
mov eax, dword [ebp - 0x264]
cdq
push edx
push eax
lea ecx, [ebp - 0x260]
call fcn.1004c07d
mov dword [ebp - 0x18], 1
jmp 0x100244da
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.100274c0
cmp dword [ebp - 0x25c], 0
je 0x1002450d
cmp dword [ebp - 0x25c], 0xffffffff
je 0x1002450d
lea ecx, [ebp - 0x260]
call fcn.1004c15a
cmp dword [ebp - 0x18], 0
jne 0x1002455c
mov dword [ebp + 8], 1
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult__ENUM_DOWNLOAD_RESULT_FAILED1111
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov dword [ebp - 0x288], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.1004c2b8
mov eax, dword [ebp - 0x288]
jmp 0x100247a7
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x298]
add ecx, 0x3c
call fcn.100136c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x27c]
call fcn.1004b241
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x298]
add ecx, 0x3c
call fcn.100136c0
push eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x40
call fcn.100136c0
push eax
call fcn.1004be9f
mov ecx, dword [ebp - 0x298]
add ecx, 0x3c
call fcn.10015350
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x40
call fcn.10015350
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x29c]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
push str.CMYDownloadProc::HandleDownloadFinished_CFile::Rename__s__s_
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 0x10
mov dword [ebp - 0x18], 1
jmp 0x1002462c
mov dword [ebp - 4], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.100274c0
cmp dword [ebp - 0x18], 0
jne 0x10024691
mov dword [ebp + 8], 1
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult__ENUM_DOWNLOAD_RESULT_FAILED2222
mov edx, dword [ebp - 0x298]
push edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 8
mov dword [ebp - 0x28c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.1004c2b8
mov eax, dword [ebp - 0x28c]
jmp 0x100247a7
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x3c
call fcn.100136c0
push eax
call fcn.1004d94a
test eax, eax
je 0x100246fb
mov ecx, dword [ebp - 0x298]
mov ecx, dword [ecx + 0x70]
call fcn.10021240
push edx
push eax
lea ecx, [ebp - 0x248]
call fcn.1001faf0
mov byte [ebp - 0x230], 0
lea edx, [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0x298]
add ecx, 0x3c
call fcn.100136c0
push eax
call fcn.1004db3f
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x10024747
mov dword [ebp + 8], 1
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult__ENUM_DOWNLOAD_RESULT_FAILED3333
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov dword [ebp - 0x290], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.1004c2b8
mov eax, dword [ebp - 0x290]
jmp 0x100247a7
mov ecx, dword [ebp - 0x264]
push ecx
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.10022830
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.10022940
push str.CMYDownloadProc::HandleDownloadFinished_End
mov edx, dword [ebp - 0x298]
push edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 8
mov dword [ebp - 0x294], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.1004c2b8
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret 4