Function at 0x43c700
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c2dd0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 3
call fcn.0040ee10
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x10]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], ecx
push eax
call fcn.004366d0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 5
lea ecx, [eax + 0x14]
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], ecx
push eax
call fcn.004366d0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 6
lea ecx, [eax + 0x18]
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], ecx
push eax
call fcn.004366d0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp + 8]
lea ebx, [ebp + 0xc]
mov dword [edi + 0x1c], 0
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
cmp esi, eax
je 0x43c892
mov dword [ebp - 0x34], eax
sub eax, esi
mov ecx, eax
sar ecx, 2
imul ecx, ecx, 0xf0f0f0f1
cmp ecx, 0x3c3c3c4
jae 0x43c941
cmp eax, 0x1000
mov dword [ebp - 0x38], esi
jb 0x43c826
add eax, 0x23
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 7
push eax
call fcn.005d0220
add esp, 4
mov esi, eax
add esi, 0x23
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43c843
test eax, eax
je 0x43c93a
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 7
push eax
call fcn.005d0220
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, ecx
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov ebx, dword [ebp - 0x38]
shl eax, 6
lea eax, [eax + ecx*4]
add eax, esi
mov dword [edi + 0x3c], eax
mov edi, dword [ebp - 0x34]
nop word cs:[eax + eax]
nop dword [eax]
push 0x44
push ebx
push esi
call fcn.0061e340
add esp, 0xc
add ebx, 0x44
add esi, 0x44
cmp edi, ebx
jne 0x43c870
mov edi, dword [ebp - 0x20]
lea ecx, [ebp + 8]
lea ebx, [ebp + 0xc]
mov dword [edi + 0x38], esi
mov eax, dword [ecx]
lea ecx, [ebp + 0x10]
inc eax
cmp eax, 2
jb 0x43c8c8
mov dword [ebp - 0x10], 0
call fcn.0040e440
lea eax, [ebp + 8]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 8]
lea ecx, [ebp + 0x10]
lea ebx, [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebx]
inc eax
cmp eax, 2
jb 0x43c8f8
mov dword [ebp - 0x10], 1
call fcn.0040e440
lea eax, [ebp + 0xc]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 0xc]
lea ecx, [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jb 0x43c925
mov dword [ebp - 0x10], 2
call fcn.0040e440
lea eax, [ebp + 0x10]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
xor esi, esi
jmp 0x43c849
mov dword [ebp - 0x10], 7
call fcn.005e8c60
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x43c96a
push eax
call fcn.005d31b1
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x43c984
mov ecx, esi
call fcn.0049dab0
push esi
call fcn.005d31ac
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
inc eax
cmp eax, 2
jb 0x43c9aa
call fcn.0040e440
mov esi, dword [ebp - 0x20]
push dword [esi + 0x1c]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
cmp eax, 2
jb 0x43c9cd
call fcn.0040e440
mov esi, dword [ebp - 0x28]
push dword [esi]
call fcn.0040f9e0
add esp, 4
mov dword [esi], 0
add esp, 0xc
pop ebp
ret