Function at 0x423970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e201
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c8
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x18], ecx
push str.CMYDownloadProc::HandleDownloadFinished_Start
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.00423dd0
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x258]
call fcn.0049b3e8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x423a2e
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult___ENUM_DOWNLOAD_RESULT_SUCCESS
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00436200
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0049b4f0
mov eax, dword [ebp - 0x2d0]
jmp 0x423da5
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
call fcn.00439ff0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
call fcn.0043ae50
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x25c], 0
je 0x423b74
cmp dword [ebp - 0x260], 0
jle 0x423b74
lea ecx, [ebp - 0x268]
call fcn.0049028c
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x26c], 0xb042
push 0
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x48
call fcn.00404880
push eax
lea ecx, [ebp - 0x258]
call fcn.0049b85c
mov eax, dword [ebp - 0x260]
cdq
push edx
push eax
lea ecx, [ebp - 0x258]
call fcn.0049b29d
mov dword [ebp - 0x248], 1
jmp 0x423af5
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00427690
cmp dword [ebp - 0x254], 0
je 0x423b28
cmp dword [ebp - 0x254], 0xffffffff
je 0x423b28
lea ecx, [ebp - 0x258]
call fcn.0049b382
cmp dword [ebp - 0x248], 0
jne 0x423b74
mov dword [ebp + 8], 1
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult__ENUM_DOWNLOAD_RESULT_FAILED1111
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0049b4f0
mov eax, dword [ebp - 0x2cc]
jmp 0x423da5
mov dword [ebp - 0x248], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x44
call fcn.00404880
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x278]
call fcn.0049028c
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
add ecx, 0x44
call fcn.00404880
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x48
call fcn.00404880
push eax
call fcn.0049afe9
mov ecx, dword [ebp - 0x18]
add ecx, 0x44
call fcn.0040d9c0
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x48
call fcn.0040d9c0
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x2d8]
push ecx
push str.CMYDownloadProc::HandleDownloadFinished_CFile::Rename__s__s_
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 0x10
mov dword [ebp - 0x248], 1
jmp 0x423c3f
mov dword [ebp - 4], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00427690
cmp dword [ebp - 0x248], 0
jne 0x423ca1
mov dword [ebp + 8], 1
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult__ENUM_DOWNLOAD_RESULT_FAILED2222
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0049b4f0
mov eax, dword [ebp - 0x2c8]
jmp 0x423da5
mov dword [ebp - 0x248], 0
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x44
call fcn.00404880
push eax
call fcn.0049a99b
test eax, eax
je 0x423d08
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
call fcn.0043aeb0
push edx
push eax
lea ecx, [ebp - 0x23c]
call fcn.004396f0
mov byte [ebp - 0x224], 0
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x44
call fcn.00404880
push eax
call fcn.0049ab72
mov dword [ebp - 0x248], 1
cmp dword [ebp - 0x248], 0
jne 0x423d51
mov dword [ebp + 8], 1
push str.CMYDownloadProc::HandleDownloadFinished_myDownloadResult__ENUM_DOWNLOAD_RESULT_FAILED3333
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0049b4f0
mov eax, dword [ebp - 0x2c4]
jmp 0x423da5
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00436060
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00436180
push str.CMYDownloadProc::HandleDownloadFinished_End
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 8
mov dword [ebp - 0x2c0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0049b4f0
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret 4