Function at 0x429360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cd27
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x290
mov eax, dword [0x5be094]
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.0042b570
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x260]
call fcn.00476935
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x42942d
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.00442140
mov dword [ebp - 0x284], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00476a3d
mov eax, dword [ebp - 0x284]
jmp 0x4297c5
mov edx, dword [ebp - 0x298]
mov ecx, dword [edx + 0x70]
call fcn.00446100
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0x70]
call fcn.00446f10
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x14], 0
je 0x429573
cmp dword [ebp - 0x264], 0
jle 0x429573
lea ecx, [ebp - 0x26c]
call fcn.00475a07
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, 0x48
call fcn.00407f80
push eax
lea ecx, [ebp - 0x260]
call fcn.00476da9
mov eax, dword [ebp - 0x264]
cdq
push edx
push eax
lea ecx, [ebp - 0x260]
call fcn.004767ea
mov dword [ebp - 0x18], 1
jmp 0x4294f1
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0042ca30
cmp dword [ebp - 0x25c], 0
je 0x429524
cmp dword [ebp - 0x25c], 0xffffffff
je 0x429524
lea ecx, [ebp - 0x260]
call fcn.004768cf
cmp dword [ebp - 0x18], 0
jne 0x429573
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.00476a3d
mov eax, dword [ebp - 0x288]
jmp 0x4297c5
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x298]
add ecx, 0x44
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x27c]
call fcn.00475a07
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x298]
add ecx, 0x44
call fcn.00407f80
push eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x48
call fcn.00407f80
push eax
call fcn.004765c4
mov ecx, dword [ebp - 0x298]
add ecx, 0x44
call fcn.0040ac80
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x48
call fcn.0040ac80
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 0x42964a
mov dword [ebp - 4], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.0042ca30
cmp dword [ebp - 0x18], 0
jne 0x4296af
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.00476a3d
mov eax, dword [ebp - 0x28c]
jmp 0x4297c5
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x44
call fcn.00407f80
push eax
call fcn.00475f37
test eax, eax
je 0x429719
mov ecx, dword [ebp - 0x298]
mov ecx, dword [ecx + 0x70]
call fcn.00446f70
push edx
push eax
lea ecx, [ebp - 0x248]
call fcn.0042ca60
mov byte [ebp - 0x230], 0
lea edx, [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0x298]
add ecx, 0x44
call fcn.00407f80
push eax
call fcn.00476152
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x429765
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.00476a3d
mov eax, dword [ebp - 0x290]
jmp 0x4297c5
mov ecx, dword [ebp - 0x264]
push ecx
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.00441fb0
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.004420c0
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.00476a3d
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.00488ec3
mov esp, ebp
pop ebp
ret 4