Function at 0x403420
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x543ea6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 4]
mov ecx, edi
mov dword [ebx], vtable.CDItem.0
call fcn.0041adc0
xor ebp, ebp
lea ecx, [ebx + 8]
mov dword [esp + 0x2c], ebp
call fcn.0041adc0
lea ecx, [ebx + 0xc]
call fcn.0041adc0
lea ecx, [ebx + 0x10]
call fcn.0041adc0
lea ecx, [ebx + 0x14]
call fcn.0041adc0
lea ecx, [ebx + 0x18]
call fcn.0041adc0
lea ecx, [ebx + 0x1c]
call fcn.0041adc0
lea ecx, [ebx + 0x28]
call fcn.0041adc0
mov dword [ebx + 0x30], ebp
call fcn.0040c7a0
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x54], ebp
call fcn.0040c7a0
mov edx, 1
lock xadd dword [eax], edx
mov dword [ebx + 0x5c], ebp
mov dword [ebx + 0x60], ebp
lea esi, [ebx + 0x64]
call fcn.00427a70
mov eax, 0x59f5c0
mov esi, edi
mov byte [esp + 0x2c], 0xa
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 8]
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 0xc]
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 0x10]
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 0x14]
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 0x18]
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 0x1c]
call fcn.0041ae20
mov eax, 0x59f5c0
lea esi, [ebx + 0x28]
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
call fcn.0041ae20
cmp dword [ebx + 0x38], ebp
je 0x403558
mov eax, dword [ebx + 0x30]
push eax
call fcn.0051ee35
add esp, 4
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], ebp
cmp dword [ebx + 0x5c], ebp
je 0x403572
mov ecx, dword [ebx + 0x54]
push ecx
call fcn.0051ee35
add esp, 4
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x5c], ebp
push 0x48
mov dword [ebx + 0x60], ebp
call fcn.0051e4bd
add esp, 4
cmp eax, ebp
je 0x40358c
mov edi, eax
call fcn.004032a0
jmp 0x40358e
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [eax], 1
mov ecx, 0x96
lea eax, [esp + 0x18]
call fcn.00401d60
mov ecx, dword [ebx + 0x2c]
mov edx, dword [eax + 4]
add ecx, 0xc
push 0x48
mov dword [ecx + 4], edx
call fcn.0051e4bd
add esp, 4
cmp eax, ebp
je 0x4035ca
mov edi, eax
call fcn.004032a0
mov edx, eax
jmp 0x4035cc
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [ebx + 0x40], edx
call fcn.00401d60
mov eax, dword [eax + 4]
push 0x48
mov dword [edx + 0x10], eax
call fcn.0051e4bd
add esp, 4
cmp eax, ebp
je 0x4035f9
mov edi, eax
call fcn.004032a0
mov edx, eax
jmp 0x4035fb
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [ebx + 0x44], edx
call fcn.00401d60
mov ecx, dword [eax + 4]
push 0x48
mov dword [edx + 0x10], ecx
call fcn.0051e4bd
add esp, 4
cmp eax, ebp
je 0x403628
mov edi, eax
call fcn.004032a0
mov edx, eax
jmp 0x40362a
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [ebx + 0x48], edx
call fcn.00401d60
mov eax, dword [eax + 4]
push 0x48
mov dword [edx + 0x10], eax
call fcn.0051e4bd
add esp, 4
cmp eax, ebp
je 0x403657
mov edi, eax
call fcn.004032a0
mov edx, eax
jmp 0x403659
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [ebx + 0x4c], edx
call fcn.00401d60
mov ecx, dword [eax + 4]
push 0x48
mov dword [edx + 0x10], ecx
call fcn.0051e4bd
add esp, 4
cmp eax, ebp
je 0x403686
mov edi, eax
call fcn.004032a0
mov edx, eax
jmp 0x403688
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x18]
mov dword [ebx + 0x50], edx
call fcn.00401d60
mov eax, dword [eax + 4]
lea edi, [ebx + 0x64]
mov dword [edx + 0x10], eax
call fcn.00427b30
push 0x1c
call fcn.0051e4bd
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c], 0xb
cmp eax, ebp
je 0x4036c4
mov esi, eax
call fcn.004febe0
jmp 0x4036c6
xor eax, eax
push ebp
mov dword [ebx + 0x80], eax
push eax
lea eax, [ebx + 0x64]
call fcn.00427ae0
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4