Function at 0x4942a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4942a9
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x494a5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 0x28]
add eax, 0x38
xor ecx, ecx
mov edx, 8
call fcn.00403768
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x34], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0x14
call fcn.00404cb8
mov eax, dword [ebp - 0x28]
add eax, 0x18
call fcn.00404cb8
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 0x28]
add eax, 0x50
call fcn.00404cb8
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x494a78
call fcn.00404fd0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.00494240
xor edx, edx
push ebp
push 0x494a20
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x2c]
call fcn.00487da0
cmp dword [ebp - 0x10], 0
je 0x494382
cmp dword [ebp - 0x14], 0
je 0x494382
cmp dword [ebp - 0x20], 0
je 0x494382
cmp dword [ebp - 0x18], 0
jne 0x4943a7
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x494a98
call fcn.00404fd0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
call fcn.00494174
call fcn.0040478c
jmp 0x494a27
cmp dword [ebp - 8], 0
jne 0x4943cd
cmp dword [ebp - 0xc], 0
jne 0x4943cd
lea eax, [ebp - 8]
mov edx, 0x494ab0
call fcn.00404d50
lea eax, [ebp - 0xc]
mov edx, 0x494ab0
call fcn.00404d50
mov dl, 1
mov eax, dword [0x493d94]
call fcn.0048f904
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x49496f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x38]
add eax, 0x14
mov edx, dword [ebp - 8]
call fcn.00404d0c
mov eax, dword [ebp - 0x38]
add eax, 0x18
mov edx, dword [ebp - 0xc]
call fcn.00404d0c
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, dword [ebp - 0x38]
add eax, 8
mov edx, dword [ebp - 0x14]
call fcn.00404d0c
mov eax, dword [ebp - 0x28]
cmp word [eax + 0x5a], 0
je 0x494470
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x80]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x28]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], 0x496328
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x80]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], 0x496328
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x8c], edx
mov dword [eax + 0x88], 0x49635c
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
jne 0x4944b7
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
call fcn.0049674c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x494a27
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x68]
mov dl, 1
call fcn.004098d8
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x494ac4
call fcn.00404fd0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x39], 0
je 0x49450d
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x68], 0
jne 0x49450d
mov byte [ebp - 0x39], 0
mov edx, 0x494ad8
mov eax, dword [ebp - 0x28]
call fcn.004941e4
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x14
call fcn.00404cb8
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
call fcn.004963f0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x5c]
mov edx, 0x494b0c
call fcn.00404fd0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
cmp byte [ebp - 0x39], 0
je 0x4945a3
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0
je 0x4945a3
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x78], 0
jne 0x4945a3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 8]
call fcn.004050e0
je 0x4945a3
mov byte [ebp - 0x39], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x60]
mov edx, 0x494b20
call fcn.00404fd0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov eax, dword [ebp - 0x28]
add eax, 0x18
call fcn.00404cb8
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
call fcn.0049661c
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x64]
mov edx, 0x494b4c
call fcn.00404fd0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
cmp byte [ebp - 0x39], 0
je 0x49467a
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0xc]
call fcn.004050e0
je 0x494621
mov byte [ebp - 0x39], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x68]
mov edx, 0x494b60
call fcn.00404fd0
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x34], 0xffffffff
jne 0x49462e
cmp dword [eax + 0x30], 0xffffffff
je 0x49467a
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x28]
cmp edx, dword [ecx + 0x34]
jne 0x494648
cmp eax, dword [ecx + 0x30]
jb 0x49467a
jmp 0x49464a
jl 0x49467a
mov byte [ebp - 0x39], 0
mov eax, dword [ebp - 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [ebp - 0x70]
call fcn.00409610
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x494b8c
call fcn.00404fd0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov edx, 0x494bcc
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0xc]
test al, al
jne 0x4946b8
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x38]
call fcn.0049674c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x28]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x494a27
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x70], 0
je 0x4946dd
mov edx, 0x494bf0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, 0x494c00
mov eax, dword [ebp - 0x28]
call fcn.004941e4
jmp 0x4946f7
mov edx, 0x494c18
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, 0x494c28
mov eax, dword [ebp - 0x28]
call fcn.004941e4
cmp byte [ebp - 0x39], 0
je 0x494843
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x24], 0
jne 0x494716
cmp dword [eax + 0x20], 0
jbe 0x494843
jmp 0x49471c
jle 0x494843
mov eax, dword [ebp - 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [ebp - 0x78]
call fcn.00409610
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 0x494c40
call fcn.00404fd0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, 0x64
cdq
idiv ecx
cmp eax, 3
je 0x494812
push 0x494c50
push dword [ebp - 0x24]
push 0x494c60
mov eax, dword [ebp - 0x38]
push dword [eax + 0x34]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
lea eax, [ebp - 0x24]
mov edx, 0x494c6c
call fcn.00404d50
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, 0x64
cdq
idiv ecx
cmp eax, 3
jne 0x4947e7
push 0x494c50
push dword [ebp - 0x24]
push 0x494c60
mov eax, dword [ebp - 0x38]
push dword [eax + 0x34]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov byte [ebp - 0x39], 0
mov edx, 0x494c7c
mov eax, dword [ebp - 0x28]
call fcn.004941e4
jmp 0x494843
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x38]
call fcn.0049674c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x28]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x494a27
push 0x494c50
push dword [ebp - 0x24]
push 0x494c60
mov eax, dword [ebp - 0x38]
push dword [eax + 0x34]
lea eax, [ebp - 0x88]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
cmp byte [ebp - 0x39], 0
jne 0x494866
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0041b970
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x44], ecx
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov edx, 0x494c94
call fcn.00404fd0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x28]
call fcn.004941e4
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x18]
mov edx, 0x494cac
call fcn.00404fd0
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, 0x64
cdq
idiv ecx
dec eax
je 0x4948f0
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x38]
call fcn.0049674c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x28]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x494a27
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x4c], 0
je 0x494915
mov edx, 0x494cbc
mov eax, dword [ebp - 0x28]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x494a27
mov edx, 0x494cd0
mov eax, dword [ebp - 0x28]
call fcn.004941e4
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x10], 1
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
call fcn.004967d0
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
jne 0x494959
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x38]
call fcn.0049674c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x28]
call fcn.00494174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494976
mov eax, dword [ebp - 0x38]
call fcn.00403e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494a66
lea eax, [ebp - 0xa0]
mov edx, 0x12
call fcn.00404cdc
lea eax, [ebp - 0x50]
mov edx, 5
call fcn.00404cdc
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404cdc
ret