Function at 0x40e030
Capabilities:
Check if file exists
Copy file
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584467
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40e32a
push eax
call fcn.0040d770
mov esi, eax
test esi, esi
je 0x40e32a
mov ecx, edi
call fcn.0040d840
cmp eax, 1
jne 0x40e20e
cmp dword [0x61654c], 0
jne 0x40e0c1
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x2ac], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], eax
lea eax, [ebp - 0x290]
push eax
call fcn.004097c0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00414750
push eax
lea edx, [ebp - 0x290]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.0040fa10
push str..wnpf
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
call fcn.0040fa60
add esp, 0x10
lea ecx, [ebp - 0x260]
call fcn.00403780
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 6
call fcn.00403780
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x230]
je 0x40e1e3
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e1f8
push 0x1869f
push 0x2710
call fcn.00420fe9
lea ecx, [esi + 0x48]
mov ebx, eax
push ecx
lea eax, [ebp - 0x278]
push eax
call fcn.004298b1
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x40e184
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x218]
push str._s__d
push eax
call fcn.004030d0
add esp, 0x10
lea ecx, [ebp - 0x278]
call fcn.00403780
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea ecx, [ebp - 0x230]
call fcn.00403780
lea ecx, [ebp - 0x290]
jmp 0x40e313
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x230]
call fcn.00403780
lea ecx, [ebp - 0x290]
jmp 0x40e313
cmp eax, 2
jne 0x40e31f
cmp dword [0x61654c], 0
jne 0x40e24d
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x2ac], eax
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], eax
lea eax, [ebp - 0x260]
push eax
call fcn.004097c0
lea eax, [ebp - 0x2a8]
mov dword [ebp - 4], 8
push eax
mov ecx, esi
call fcn.00414750
push eax
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x278]
call fcn.0040fa10
push str..wnpf
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040fa60
add esp, 0x10
lea ecx, [ebp - 0x278]
call fcn.00403780
lea ecx, [ebp - 0x2a8]
call fcn.00403780
cmp byte [ebp + 0xc], 0
je 0x40e2e7
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [esi + 0x90]
cmovae ecx, dword [ebp - 0x248]
cmp dword [eax + 0x14], 8
jb 0x40e2db
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x40e302
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x248]
call fcn.00403780
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
call fcn.00403780
lea ecx, [edi + 0x364]
call fcn.00417960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b461
mov esp, ebp
pop ebp
ret 8