Function at 0x401ac0
Capabilities:
Create directory
Create process on windows
Delete file
Download url
Move file
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4035be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x406080]
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x44c], ecx
mov eax, dword [ebp - 0x44c]
movzx ecx, word [eax + 0x1d4]
mov edx, dword [ebp - 0x44c]
movzx eax, word [edx + 0x1cc]
cmp ecx, eax
jl 0x401b20
mov ecx, dword [ebp - 0x44c]
mov dword [ecx + 0x1d0], 1
jmp 0x401efe
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x33c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x33b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCR71.dll_strlen
add esp, 4
lea ecx, [ebp + eax - 0x11c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x11c]
cmp edx, eax
jbe 0x401ba9
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x401ba9
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
jmp 0x401b86
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov byte [ebp - 0x234], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x233]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 0x44c]
add edx, 0xc4
push edx
lea eax, [ebp - 0x234]
push eax
call sub.MSVCR71.dll_strcpy
add esp, 8
push 0x4046f4
lea ecx, [ebp - 0x11c]
push ecx
call sub.MSVCR71.dll_strcat
add esp, 8
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x33c]
push eax
call sub.MSVCR71.dll_strcpy
add esp, 8
push str.DownLoad_
lea ecx, [ebp - 0x33c]
push ecx
call sub.MSVCR71.dll_strcat
add esp, 8
lea edx, [ebp - 0x33c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x401c42
push 0
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x44c]
movzx edx, word [ecx + 0x1d4]
imul edx, edx, 0x2c
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x1c8]
lea edx, [ecx + edx + 4]
push edx
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCR71.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x44c]
movzx edx, word [ecx + 0x1d4]
imul edx, edx, 0x2c
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x1c8]
lea edx, [ecx + edx + 4]
push edx
lea eax, [ebp - 0x33c]
push eax
call sub.MSVCR71.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x44c]
movzx edx, word [ecx + 0x1d4]
imul edx, edx, 0x2c
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x1c8]
lea edx, [ecx + edx + 4]
push edx
lea eax, [ebp - 0x234]
push eax
call sub.MSVCR71.dll_strcat
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.00401000
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00402410
mov edx, dword [ebp - 0x44c]
movzx eax, word [edx + 0x1d4]
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x1c8]
lea eax, [edx + eax + 4]
push eax
push 0x404704
push 0x20
mov ecx, dword [ebp - 0x44c]
add ecx, 0x8c
push ecx
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x401eec
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x444]
push eax
call sub.MSVCR71.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.MSVCR71.dll__strrev]
add esp, 4
mov byte [ebp - 0x445], 0
push 4
push str.exe.
lea edx, [ebp - 0x444]
push edx
call fcn.00402430
add esp, 0xc
test eax, eax
jne 0x401e7a
mov eax, dword [ebp - 0x44c]
movzx ecx, word [eax + 0x1d4]
imul ecx, ecx, 0x2c
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x1c8]
movzx ecx, byte [eax + ecx + 0x28]
test ecx, ecx
je 0x401e7a
push 1
push 0
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x33c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x104
lea ecx, [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0x44c]
movzx eax, word [edx + 0x1d4]
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x1c8]
mov eax, dword [edx + eax + 0x24]
push eax
call dword [sym.imp.MSVCR71.dll__itoa]
add esp, 0xc
push str.._Update.ini
lea ecx, [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0x44c]
movzx eax, word [edx + 0x1d4]
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x1c8]
lea eax, [edx + eax + 4]
push eax
push str.Update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 0x445], 1
lea ecx, [ebp - 0x33c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
movzx edx, byte [ebp - 0x445]
test edx, edx
jne 0x401e9b
push 1
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x33c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edx, dword [ebp - 0x44c]
movzx eax, word [edx + 0x1d4]
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x1c8]
mov dword [eax + edx], 1
mov eax, dword [ebp - 0x44c]
mov cx, word [eax + 0x1d4]
add cx, 1
mov edx, dword [ebp - 0x44c]
mov word [edx + 0x1d4], cx
mov eax, dword [ebp - 0x44c]
mov dword [eax + 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00401020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00402efd
pop edi
mov esp, ebp
pop ebp
ret