Function at 0x463c7c
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 0x463c84
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4644b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 4
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 8
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.0040474c
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.0040474c
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.0040474c
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x4c
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x54
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.0040474c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.0040474c
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 [0x461da8]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x78
mov ecx, 1
mov edx, dword [0x461da8]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x7c
mov ecx, 1
mov edx, dword [0x461da8]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x461da8]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x84
mov ecx, 1
mov edx, dword [0x461da8]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x88
mov ecx, 1
mov edx, dword [0x461da8]
call fcn.00405db8
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x8c
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x90
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x94
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x98
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0x9c
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0xa0
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0xa4
call fcn.0040474c
mov eax, dword [ebp - 4]
add eax, 0xa8
call fcn.0040474c
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 0x464484
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00462124
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004047a0
lea eax, [ebp - 0x10]
call fcn.00461f10
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004047a0
mov eax, ebx
call fcn.00404a04
test eax, eax
jle 0x46447a
lea eax, [ebp - 8]
call fcn.0040474c
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00409698
mov eax, dword [ebp - 0x14]
call fcn.00404a04
test eax, eax
jle 0x463f66
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00409524
jmp 0x463fd6
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
call fcn.004357f0
mov eax, dword [ebp - 0x18]
mov edx, 0x4644cc
call fcn.00404b48
je 0x463f95
lea eax, [ebp - 8]
mov ecx, 0x4644cc
mov edx, ebx
call fcn.00404a50
jmp 0x463fd6
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047e4
jmp 0x463fd6
mov eax, dword [ebp - 8]
call fcn.00404a04
mov edx, eax
sub edx, 1
jno 0x463fb5
call fcn.00403860
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004357d4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409524
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004047e4
mov edx, dword [ebp - 8]
mov eax, 0x4644d8
call fcn.00404d40
test eax, eax
jg 0x463fa1
mov edx, dword [ebp - 8]
mov eax, 0x4644e8
call fcn.00404d40
test eax, eax
jg 0x463fa1
mov eax, dword [ebp - 8]
call fcn.004091fc
test al, al
je 0x46447a
lea eax, [ebp - 0x24]
mov ecx, 0x4644f8
mov edx, dword [ebp - 8]
call fcn.00404a50
mov eax, dword [ebp - 0x24]
call fcn.004091ec
test al, al
je 0x46447a
mov eax, dword [ebp - 4]
add eax, 0x40
mov edx, dword [ebp - 8]
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00404a04
mov edx, eax
sub edx, 1
jno 0x46404d
call fcn.00403860
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004357d4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.004047a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x48
mov ecx, 0x4644f8
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
lea eax, [ebp - 0x2c]
mov ecx, 0x464514
call fcn.00404a50
mov eax, dword [ebp - 0x2c]
call fcn.004091ec
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, 0x464514
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x3c
mov ecx, 0x46452c
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x54
mov ecx, 0x464544
call fcn.00404a50
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00409524
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004091ec
test al, al
je 0x464148
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00464674
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00464800
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x464142
call fcn.00403858
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, 0x464564
call fcn.00404a50
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00409524
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004091ec
test al, al
je 0x4641c4
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00464674
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.00464800
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4641be
call fcn.00403858
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004091ec
test al, al
jne 0x4641e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004091ec
test al, al
je 0x46447a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004091ec
test al, al
je 0x464208
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call fcn.004047a0
jmp 0x464219
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.004047a0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x10
mov ecx, 0x464584
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0x464598
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 0x4645ac
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x4645c4
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x9c
mov ecx, 0x4645dc
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa0
mov ecx, 0x4645f0
call fcn.00404a50
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00462e04
mov eax, dword [ebp - 0x40]
mov edx, 0x464604
call fcn.00408a2c
test al, al
je 0x4642c9
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x4642d0
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.00462340
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x90
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00404a04
test eax, eax
jle 0x46431b
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x90]
mov eax, dword [ebp - 4]
add eax, 0x8c
mov ecx, 0x4644cc
call fcn.00404a50
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00462540
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x98
call fcn.004047a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00404a04
test eax, eax
jle 0x464366
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x98]
mov eax, dword [ebp - 4]
add eax, 0x94
mov ecx, 0x4644cc
call fcn.00404a50
mov eax, dword [ebp - 4]
call fcn.0040474c
push eax
mov eax, dword [ebp - 4]
add eax, 4
call fcn.0040474c
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0040474c
push eax
mov eax, dword [ebp - 4]
add eax, 8
call fcn.0040474c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop ecx
call fcn.00462738
test al, al
je 0x46444a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00462f9c
mov edx, 0x464614
mov eax, dword [ebp - 8]
call fcn.00408a2c
test al, al
jne 0x4643d8
mov edx, 0x464620
mov eax, dword [ebp - 8]
call fcn.00408a2c
test al, al
je 0x4643df
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.00462a5c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004047a0
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.00463130
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, 0x46462c
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa8
mov ecx, 0x464650
call fcn.00404a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4644ba
lea eax, [ebp - 0x4c]
mov edx, 0x12
call fcn.00404770
ret