Function at 0x463c84
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 0x463c8c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4644bb
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 [0x461db0]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x78
mov ecx, 1
mov edx, dword [0x461db0]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x7c
mov ecx, 1
mov edx, dword [0x461db0]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x461db0]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x84
mov ecx, 1
mov edx, dword [0x461db0]
call fcn.00405db8
add esp, 4
push 0
mov eax, dword [ebp - 4]
add eax, 0x88
mov ecx, 1
mov edx, dword [0x461db0]
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 0x46448c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0046212c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004047a0
lea eax, [ebp - 0x10]
call fcn.00461f18
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 0x464482
lea eax, [ebp - 8]
call fcn.0040474c
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004096a0
mov eax, dword [ebp - 0x14]
call fcn.00404a04
test eax, eax
jle 0x463f6e
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0040952c
jmp 0x463fde
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
call fcn.004357f8
mov eax, dword [ebp - 0x18]
mov edx, 0x4644d4
call fcn.00404b48
je 0x463f9d
lea eax, [ebp - 8]
mov ecx, 0x4644d4
mov edx, ebx
call fcn.00404a50
jmp 0x463fde
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047e4
jmp 0x463fde
mov eax, dword [ebp - 8]
call fcn.00404a04
mov edx, eax
sub edx, 1
jno 0x463fbd
call fcn.00403860
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004357dc
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040952c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004047e4
mov edx, dword [ebp - 8]
mov eax, 0x4644e0
call fcn.00404d40
test eax, eax
jg 0x463fa9
mov edx, dword [ebp - 8]
mov eax, 0x4644f0
call fcn.00404d40
test eax, eax
jg 0x463fa9
mov eax, dword [ebp - 8]
call fcn.00409204
test al, al
je 0x464482
lea eax, [ebp - 0x24]
mov ecx, 0x464500
mov edx, dword [ebp - 8]
call fcn.00404a50
mov eax, dword [ebp - 0x24]
call fcn.004091f4
test al, al
je 0x464482
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 0x464055
call fcn.00403860
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004357dc
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, 0x464500
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
lea eax, [ebp - 0x2c]
mov ecx, 0x46451c
call fcn.00404a50
mov eax, dword [ebp - 0x2c]
call fcn.004091f4
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, 0x46451c
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x3c
mov ecx, 0x464534
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x54
mov ecx, 0x46454c
call fcn.00404a50
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0040952c
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.004091f4
test al, al
je 0x464150
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0046467c
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.00464808
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x46414a
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, 0x46456c
call fcn.00404a50
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0040952c
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.004091f4
test al, al
je 0x4641cc
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0046467c
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.00464808
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4641c6
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.004091f4
test al, al
jne 0x4641ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004091f4
test al, al
je 0x464482
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004091f4
test al, al
je 0x464210
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call fcn.004047a0
jmp 0x464221
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, 0x46458c
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0x4645a0
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 0x4645b4
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x4645cc
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x9c
mov ecx, 0x4645e4
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa0
mov ecx, 0x4645f8
call fcn.00404a50
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00462e0c
mov eax, dword [ebp - 0x40]
mov edx, 0x46460c
call fcn.00408a34
test al, al
je 0x4642d1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x4642d8
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.00462348
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 0x464323
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x90]
mov eax, dword [ebp - 4]
add eax, 0x8c
mov ecx, 0x4644d4
call fcn.00404a50
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00462548
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 0x46436e
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x98]
mov eax, dword [ebp - 4]
add eax, 0x94
mov ecx, 0x4644d4
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.00462740
test al, al
je 0x464452
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00462fa4
mov edx, 0x46461c
mov eax, dword [ebp - 8]
call fcn.00408a34
test al, al
jne 0x4643e0
mov edx, 0x464628
mov eax, dword [ebp - 8]
call fcn.00408a34
test al, al
je 0x4643e7
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.00462a64
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.00463138
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, 0x464634
call fcn.00404a50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
mov eax, dword [ebp - 4]
add eax, 0xa8
mov ecx, 0x464658
call fcn.00404a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4644a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4644c2
lea eax, [ebp - 0x4c]
mov edx, 0x12
call fcn.00404770
ret