Function at 0x463e58
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x463e60
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46468f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 4
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 8
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004049bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x25], 0
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004049bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004049bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x4c
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x54
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.004049bc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.004049bc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x70], 0
push 0
mov eax, dword [ebp - 4]
add eax, 0x74
mov ecx, 1
mov edx, dword [0x461f84]
call fcn.00406028
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x78
mov ecx, 1
mov edx, dword [0x461f84]
call fcn.00406028
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x7c
mov ecx, 1
mov edx, dword [0x461f84]
call fcn.00406028
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x461f84]
call fcn.00406028
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x84
mov ecx, 1
mov edx, dword [0x461f84]
call fcn.00406028
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x88
mov ecx, 1
mov edx, dword [0x461f84]
call fcn.00406028
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x8c
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x90
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x94
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x98
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0x9c
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0xa0
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0xa4
call fcn.004049bc
mov eax, dword [ebp - 4]
add eax, 0xa8
call fcn.004049bc
mov eax, dword [ebp - 4]
mov byte [eax + 0xac], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xad], 0
xor eax, eax
push ebp
push 0x464660
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00462300
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404a10
lea eax, [ebp - 0x10]
call fcn.004620ec
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00404a10
mov eax, ebx
call fcn.00404c74
test eax, eax
jle 0x464656
lea eax, [ebp - 8]
call fcn.004049bc
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00409874
mov eax, dword [ebp - 0x14]
call fcn.00404c74
test eax, eax
jle 0x464142
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00409794
jmp 0x4641b2
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
call fcn.004359cc
mov eax, dword [ebp - 0x18]
mov edx, 0x4646a8
call fcn.00404db8
je 0x464171
lea eax, [ebp - 8]
mov ecx, 0x4646a8
mov edx, ebx
call fcn.00404cc0
jmp 0x4641b2
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404a54
jmp 0x4641b2
mov eax, dword [ebp - 8]
call fcn.00404c74
mov edx, eax
sub edx, 1
jno 0x464191
call fcn.00403ad0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004359b0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409794
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404a54
mov edx, dword [ebp - 8]
mov eax, 0x4646b4
call fcn.00404fb0
test eax, eax
jg 0x46417d
mov edx, dword [ebp - 8]
mov eax, 0x4646c4
call fcn.00404fb0
test eax, eax
jg 0x46417d
mov eax, dword [ebp - 8]
call fcn.0040946c
test al, al
je 0x464656
lea eax, [ebp - 0x24]
mov ecx, 0x4646d4
mov edx, dword [ebp - 8]
call fcn.00404cc0
mov eax, dword [ebp - 0x24]
call fcn.0040945c
test al, al
je 0x464656
mov eax, dword [ebp - 4]
add eax, 0x40
mov edx, dword [ebp - 8]
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00404c74
mov edx, eax
sub edx, 1
jno 0x464229
call fcn.00403ad0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004359b0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00404a10
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x48
mov ecx, 0x4646d4
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
lea eax, [ebp - 0x2c]
mov ecx, 0x4646f0
call fcn.00404cc0
mov eax, dword [ebp - 0x2c]
call fcn.0040945c
mov edx, dword [ebp - 4]
mov byte [edx + 0x34], al
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x38
mov ecx, 0x4646f0
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x3c
mov ecx, 0x464708
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x54
mov ecx, 0x464720
call fcn.00404cc0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00409794
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0040945c
test al, al
je 0x464324
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00464850
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004649dc
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x46431e
call fcn.00403ac8
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x64
mov ecx, 0x464740
call fcn.00404cc0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00409794
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0040945c
test al, al
je 0x4643a0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00464850
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004649dc
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x46439a
call fcn.00403ac8
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0040945c
test al, al
jne 0x4643c2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0040945c
test al, al
je 0x464656
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0040945c
test al, al
je 0x4643e4
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call fcn.00404a10
jmp 0x4643f5
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404a10
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x10
mov ecx, 0x464760
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0x464774
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 0x464788
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x4647a0
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x9c
mov ecx, 0x4647b8
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa0
mov ecx, 0x4647cc
call fcn.00404cc0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00462fe0
mov eax, dword [ebp - 0x40]
mov edx, 0x4647e0
call fcn.00408c9c
test al, al
je 0x4644a5
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x4644ac
mov eax, dword [ebp - 4]
mov byte [eax + 0x25], 1
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0046251c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x90
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00404c74
test eax, eax
jle 0x4644f7
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x90]
mov eax, dword [ebp - 4]
add eax, 0x8c
mov ecx, 0x4646a8
call fcn.00404cc0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0046271c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x98
call fcn.00404a10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00404c74
test eax, eax
jle 0x464542
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x98]
mov eax, dword [ebp - 4]
add eax, 0x94
mov ecx, 0x4646a8
call fcn.00404cc0
mov eax, dword [ebp - 4]
call fcn.004049bc
push eax
mov eax, dword [ebp - 4]
add eax, 4
call fcn.004049bc
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.004049bc
push eax
mov eax, dword [ebp - 4]
add eax, 8
call fcn.004049bc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop ecx
call fcn.00462914
test al, al
je 0x464626
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00463178
mov edx, 0x4647f0
mov eax, dword [ebp - 8]
call fcn.00408c9c
test al, al
jne 0x4645b4
mov edx, 0x4647fc
mov eax, dword [ebp - 8]
call fcn.00408c9c
test al, al
je 0x4645bb
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 1
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x24]
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2c]
call fcn.00462c38
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404a10
mov eax, dword [ebp - 4]
add eax, 0x7c
push eax
mov eax, dword [ebp - 4]
add eax, 0x80
push eax
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
mov eax, dword [ebp - 4]
add eax, 0x88
push eax
mov eax, dword [ebp - 4]
add eax, 0x70
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x78
mov edx, dword [ebp - 4]
add edx, 0x74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0046330c
mov edx, dword [ebp - 4]
mov byte [edx + 0xac], al
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa4
mov ecx, 0x464808
call fcn.00404cc0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa8
mov ecx, 0x46482c
call fcn.00404cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464696
lea eax, [ebp - 0x4c]
mov edx, 0x12
call fcn.004049e0
ret