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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
push edi
xor edi, edi
cmp eax, 7
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], edi
ja case.default.0x43f2b6
jmp dword [eax*4 + 0x43f990]
mov eax, dword [ebx + 8]
mov dword [esi + 4], eax
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
sub eax, edi
je 0x43f403
dec eax
mov eax, dword [ebx + 0xc]
je 0x43f37a
cmp eax, edi
jne 0x43f322
mov ecx, 0x4ffdbd
call fcn.0040e2a0
mov ecx, dword [0x4ffb60]
push edi
call fcn.00483730
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040ea80
mov eax, dword [eax + 0x2c]
lea ecx, [eax + 0xc]
push edi
call fcn.0043eaf0
mov ecx, 0x4ffdbd
lea edi, [eax + 8]
call fcn.0040e2a0
mov esi, dword [0x4ffb60]
push 0
mov ecx, edi
call fcn.0043eaf0
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebx + 0xc]
push 1
push ecx
push 0
push edx
mov ecx, esi
call fcn.00488c30
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, edi
jne 0x43f3ad
mov ecx, 0x4ffdbd
call fcn.0040e2a0
mov ecx, dword [0x4ffb60]
push 1
call fcn.004832f0
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040ea80
mov eax, dword [eax + 0x2c]
lea ecx, [eax + 0xc]
push edi
call fcn.0043eaf0
mov ecx, 0x4ffdbd
lea edi, [eax + 8]
call fcn.0040e2a0
mov esi, dword [0x4ffb60]
push 0
mov ecx, edi
call fcn.0043eaf0
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0xc]
push 1
push eax
push ecx
mov ecx, esi
call fcn.00488ab0
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0xc], edi
jne 0x43f44f
call fcn.0040ea80
mov esi, dword [eax + 0x2c]
mov ecx, 0x4ffdbd
add esi, 0x18
call fcn.0040e2a0
mov edi, dword [0x4ffb60]
push 0
mov ecx, esi
call fcn.0043eaf0
add eax, 0x30
push eax
mov ecx, edi
call fcn.00483b90
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040ea80
mov eax, dword [eax + 0x2c]
lea ecx, [eax + 0xc]
push edi
call fcn.0043eaf0
lea edi, [eax + 8]
call fcn.0040ea80
mov eax, dword [eax + 0x2c]
add eax, 0x18
mov ecx, 0x4ffdbd
mov dword [ebp + 8], eax
call fcn.0040e2a0
mov esi, dword [0x4ffb60]
push 0
mov ecx, edi
call fcn.0043eaf0
mov ecx, dword [ebp + 8]
push 0
mov edi, eax
call fcn.0043eaf0
mov edx, dword [edi + 0xc]
mov ecx, dword [ebx + 0xc]
push 0
push edx
push ecx
add eax, 0x30
push eax
mov ecx, esi
call fcn.00488cf0
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x34]
test eax, eax
je 0x43f4df
mov ecx, dword [esi + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebx + 4], eax
jl 0x43f54e
push 0x64
call fcn.004a0b52
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
test edi, edi
mov byte [ebp - 4], 1
je 0x43f51c
mov ecx, edi
call fcn.0040a2a0
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [edi], 0x4ce4f8
mov dword [edi + 0x48], 0
call fcn.00409450
jmp 0x43f51e
xor edi, edi
push 1
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0043fa90
lea edx, [ebp - 0x3c]
push edx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0042ee20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00422b70
jmp case.0x43f2b6.3
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x34]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
push 0
call fcn.0043eaf0
mov ecx, 0x4ffd68
mov edi, eax
call fcn.0040e340
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, dword [0x4ffb64]
push edi
call fcn.00427570
test eax, eax
jne 0x43f596
push 0x4d68f0
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], 1
call fcn.004a0e32
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x34]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.00483070
cmp dword [eax + 0x20], 2
jne 0x43f946
mov ebx, dword [ebx + 4]
mov esi, dword [esi + 0x34]
lea ecx, [ebx + ebx*2]
lea ecx, [esi + ecx*4]
call fcn.00483070
cmp dword [eax + 0x20], 2
jne 0x43f946
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x10], 3
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 0x4c]
call fcn.00401ac0
mov ecx, 0x4ffdbb
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov edi, dword [edx + 0x18]
mov ecx, 0x4ffdbb
call fcn.0040d550
mov eax, dword [0x4ffb58]
mov eax, dword [eax + 0x14]
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edi
call fcn.0043ee30
push 0
mov ecx, esi
call fcn.0043ee60
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov edi, dword [ebx + 4]
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
je 0x43f71d
test edi, edi
je 0x43f6cf
cmp edi, 1
jne 0x43f729
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x43f67c
push 0x4d68f0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edi
call fcn.004a0e32
call fcn.00410740
mov ecx, dword [ebx + 0xc]
push ecx
lea edi, [esi + 0x24]
push edi
mov ecx, eax
call fcn.0040a520
test eax, eax
jne 0x43f6a9
push 0x4d68f0
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 1
call fcn.004a0e32
mov ecx, edi
call fcn.00483070
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
mov dword [esi + 0x58], eax
mov dword [esi + 0x70], 0xff
mov dword [esi + 0x78], 0x80
mov dword [esi + 0x74], 0xffffff80
call fcn.00410740
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.0042d450
mov edi, eax
lea ebx, [esi + 0x18]
cmp ebx, edi
mov byte [ebp - 4], 4
je 0x43f6fb
mov ecx, ebx
call fcn.00422b70
push edi
mov ecx, ebx
call fcn.00432e90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00422b70
mov ecx, ebx
call fcn.00483070
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
mov edi, dword [ebp + 8]
mov dword [esi + 0x50], eax
jmp 0x43f729
mov dword [esi + 8], 0x100
mov edi, 4
mov ecx, 0x4ffd68
call fcn.0040e340
mov ecx, dword [0x4ffb64]
call fcn.004039e0
push 0
lea ecx, [eax + 0x18]
call fcn.0043eaf0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
lea ecx, [esi + 0xc]
mov dword [esi + 0x4c], eax
call fcn.00483070
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
mov dword [esi + 0x54], eax
mov dword [esi + 0x68], edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebx + 4]
test edi, edi
jge 0x43f7d1
xor edi, edi
jmp 0x43f790
mov eax, dword [esi + 0x34]
test eax, eax
je 0x43f946
mov ecx, dword [esi + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x43f946
mov eax, dword [esi + 0x34]
lea ecx, [edi + edi*2]
lea ecx, [eax + ecx*4]
push 0
call fcn.0043eaf0
mov edx, dword [ebx + 8]
mov dword [eax + 0x24], edx
inc edi
jmp 0x43f790
mov eax, dword [esi + 0x34]
test eax, eax
je 0x43f7ed
mov ecx, dword [esi + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jl 0x43f806
push 0x4d68f0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 1
call fcn.004a0e32
mov esi, dword [esi + 0x34]
lea ecx, [edi + edi*2]
lea ecx, [esi + ecx*4]
push 0
call fcn.0043eaf0
mov edx, dword [ebx + 8]
mov dword [eax + 0x24], edx
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x4ffdbb
call fcn.0040d550
mov eax, dword [0x4ffb58]
mov ebx, dword [eax + 0x18]
mov ecx, 0x4ffdbb
call fcn.0040d550
mov ecx, dword [0x4ffb58]
mov eax, dword [ecx + 0x14]
lea edx, [ebp - 0x68]
push edx
mov ecx, esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
call fcn.0043ee30
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x34]
cmp eax, edi
jne 0x43f893
xor eax, eax
jmp 0x43f8a8
mov ecx, dword [esi + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [ebx + 4]
cmp ecx, eax
jl 0x43f8c4
push 0x4d68f0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 1
call fcn.004a0e32
mov eax, dword [esi + 0x34]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*4]
push edi
call fcn.0043eaf0
lea edx, [ebp - 0x78]
push edx
mov ecx, eax
call fcn.00489000
movsx eax, word [ebx + 0x10]
movsx ecx, word [ebx + 0xe]
movsx edx, word [ebx + 0xc]
movsx edi, word [ebx + 0x12]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x34]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
push 0
mov dword [ebp - 0x38], edx
call fcn.0043eaf0
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
mov edx, dword [ebp - 0x38]
push ecx
push edx
mov ecx, eax
call fcn.0043f9b0
test eax, eax
je 0x43f93b
push 0x4d68f0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 1
call fcn.004a0e32
lea ecx, [ebp - 0x78]
push ecx
mov ecx, esi
call fcn.0043ee30
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4