Function at 0x43af84
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, 0x18
push 0
push 0
dec ecx
jne 0x43af8c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43b5ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x440e88]
call fcn.0044307c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b580
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 0x3a
mov eax, dword [ebp - 4]
call fcn.004421c4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push ebp
lea edx, [ebp - 0x14]
mov eax, 0x43b5c8
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 4]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x18]
mov eax, 0x43b5e4
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 8]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x1c]
mov eax, 0x43b5f4
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xc]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x20]
mov eax, 0x43b608
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x10]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x24]
mov eax, 0x43b624
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x14]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x28]
mov eax, 0x43b63c
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x18]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x2c]
mov eax, 0x43b65c
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x1c]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x30]
mov eax, 0x43b67c
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x20]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x34]
mov eax, 0x43b698
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x24]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x38]
mov eax, 0x43b6b8
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x28]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x3c]
mov eax, 0x43b6d0
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x2c]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x40]
mov eax, 0x43b6ec
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x30]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x44]
mov eax, 0x43b708
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x34]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x48]
mov eax, 0x43b71c
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x38]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x4c]
mov eax, 0x43b730
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x3c]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x50]
mov eax, 0x43b744
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x40]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x54]
mov eax, 0x43b760
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x44]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x58]
mov eax, 0x43b778
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x48]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x5c]
mov eax, 0x43b78c
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x4c]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x60]
mov eax, 0x43b7ac
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0x50]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x64]
mov eax, 0x43b7c4
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x54]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x68]
mov eax, 0x43b7d8
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 0x58]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x6c]
mov eax, 0x43b7ec
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x6c]
lea eax, [ebx + 0x5c]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x70]
mov eax, 0x43b80c
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x70]
lea eax, [ebx + 0x60]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x74]
mov eax, 0x43b820
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0x64]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x78]
mov eax, 0x43b834
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0x68]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x7c]
mov eax, 0x43b844
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x7c]
lea eax, [ebx + 0x6c]
call fcn.004062b8
push ebp
lea edx, [ebp - 0x80]
mov eax, 0x43b858
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0x80]
lea eax, [ebx + 0x70]
call fcn.004062b8
mov eax, dword [ebx + 0x7c]
call fcn.0042cc5c
mov edx, 0x43b878
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov esi, eax
test esi, esi
jl 0x43b34c
lea ecx, [ebp - 0x88]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004421e0
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.004407bc
cmp dword [ebp - 0x84], 0
je 0x43b32f
lea ecx, [ebp - 0x90]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004421e0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.004407bc
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebx + 0x7c]
call fcn.0043ad1c
pop edx
call fcn.0043aae8
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x43b878
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov esi, eax
test esi, esi
jge 0x43b2cf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x43b4d5
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
lea ecx, [ebp - 0x98]
lea eax, [ebp - 8]
mov edx, 0x43b890
call fcn.0043a948
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004407bc
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 0x84]
call fcn.004062b8
mov eax, dword [ebx + 0x84]
call fcn.004405a4
test al, al
je 0x43b3cb
lea eax, [ebx + 0x80]
mov edx, dword [ebx + 0x84]
call fcn.004062b8
lea eax, [ebx + 0x84]
call fcn.00406264
jmp 0x43b400
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 8]
mov edx, 0x43b890
call fcn.0043a948
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.004407bc
mov edx, dword [ebp - 0x9c]
lea eax, [ebx + 0x80]
call fcn.004062b8
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 8]
call fcn.004407bc
mov edx, dword [ebp - 0xa4]
lea eax, [ebx + 0x88]
call fcn.004062b8
mov eax, dword [ebx + 0x80]
call fcn.004405a4
test al, al
jne 0x43b4c9
lea eax, [ebx + 0x84]
call fcn.00406264
push ebp
lea edx, [ebp - 0xa8]
mov eax, 0x43b8a0
call fcn.0043aef0
pop ecx
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 8]
call fcn.00406314
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 8]
mov edx, 0x43b890
call fcn.0043a948
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.004407bc
mov edx, dword [ebp - 0xac]
lea eax, [ebx + 0x80]
call fcn.004062b8
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 8]
mov edx, 0x43b890
call fcn.0043a948
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.004407bc
mov edx, dword [ebp - 0xb4]
lea eax, [ebx + 0x88]
call fcn.004062b8
jmp 0x43b4f6
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x43b4f6
lea eax, [ebx + 0x80]
call fcn.00406264
lea eax, [ebx + 0x84]
call fcn.00406264
lea eax, [ebx + 0x88]
call fcn.00406264
mov eax, dword [ebx + 0x78]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x43b55f
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
lea ecx, [ebp - 0xc0]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.004407bc
cmp dword [ebp - 0xbc], 0
je 0x43b559
lea ecx, [ebp - 0xc4]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x10]
jne 0x43b511
lea eax, [ebx + 0x74]
mov edx, dword [ebp - 0xc]
call fcn.004062b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b587
mov eax, dword [ebp - 4]
call fcn.00404fe4
ret