Function at 0x8c1810
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a1ca
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x682790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [fcn.0051c3fc]
push dword [ebp + 0xc]
lea esi, [ebx + 8]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebx], 0x5237cc
call dword [fcn.0051c360]
lea eax, [ebx + 0xc]
mov ecx, eax
mov dword [ebp - 0x24], eax
call dword [fcn.0051c35c]
add ebx, 0x14
mov byte [ebp - 4], 2
mov ecx, ebx
mov dword [ebp + 0xc], ebx
call dword [0x51c9e4]
mov dword [ebx], 0x52374c
call dword [0x51c33c]
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x10], eax
call dword [fcn.0051c35c]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
push esi
lea ecx, [ebp + 8]
call dword [fcn.0051c360]
mov eax, dword [esi]
mov byte [ebp - 4], 4
cmp dword [eax + 4], 0
jne 0x8c1944
lea eax, [ebp + 0xc]
push eax
call dword [fcn.0051c8d0]
add esp, 4
mov ecx, esi
push eax
call dword [fcn.0051c368]
lea ecx, [ebp + 0xc]
call dword [fcn.0051c364]
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call dword [0x51c324]
push eax
mov ecx, esi
call dword [fcn.0051c368]
lea ecx, [ebp + 0xc]
call dword [fcn.0051c364]
push ecx
mov eax, esp
mov byte [ebp + 0xc], 0x2f
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [eax], 0
push dword [ebp + 0xc]
call dword [fcn.0051c3bc]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call dword [0x51c328]
push eax
lea ecx, [ebp + 8]
call dword [fcn.0051c368]
lea ecx, [ebp - 0x20]
call dword [fcn.0051c364]
push 9
push 0x52397c
call dword [fcn.0051c36c]
add esp, 8
mov dword [ebp + 0xc], eax
push 0
push 1
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x20]
call dword [0x51c524]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call dword [0x51c31c]
lea ecx, [ebp - 0x20]
call dword [0x51c528]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call dword [fcn.0051c364]
push 6
lea ecx, [ebp + 8]
call dword [0x51c32c]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [fcn.0051c5f0]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
push dword [eax + 4]
call dword [0x51c5d0]
push eax
call dword [0x51c334]
add esp, 8
movzx esi, ax
lea ecx, [ebp - 0x20]
push 0x523988
push 0xc
call dword [0x51c8e0]
push 0x10
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 8
push esi
push eax
call dword [fcn.0051c7e4]
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1c]
call dword [fcn.0051c360]
mov esi, eax
mov dword [ebp - 0x10], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call dword [fcn.0051c3d4]
mov byte [ebp - 0x10], 0x2d
lea ecx, [ebp - 0x30]
push dword [ebp - 0x10]
call dword [fcn.0051c3bc]
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call dword [fcn.0051c360]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 3
mov esi, eax
call dword [0x51c3d8]
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call dword [fcn.0051c360]
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 7
mov esi, eax
call dword [fcn.0051c3d4]
mov ecx, dword [ebp - 0x24]
push esi
call dword [fcn.0051c3c4]
lea ecx, [ebp + 0xc]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x18]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
call dword [fcn.0051c364]
lea ecx, [ebp - 0x34]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call dword [fcn.0051c364]
cmp dword [0x6855d8], 0
jne 0x8c1b0f
push 8
push 0x523998
call dword [fcn.0051c36c]
add esp, 8
mov dword [ebp + 0xc], eax
push 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x44]
call dword [0x51c2ec]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
call dword [fcn.0051c364]
push 0x5239a4
lea ecx, [ebp - 0x44]
call dword [0x51c2e4]
lea ecx, [ebp - 0x44]
mov dword [0x6855d8], eax
mov byte [ebp - 4], 7
call dword [0x51c2e8]
cmp dword [0x6855d8], 0
je 0x8c1b8c
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
call dword [fcn.0051c134]
push eax
call dword [0x6855d8]
push 0x10
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call dword [fcn.0051c314]
add esp, 0xc
mov edi, eax
mov byte [ebp - 0x34], 0x2d
lea ecx, [ebp - 0x34]
push dword [ebp - 0x34]
call dword [fcn.0051c3bc]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call dword [fcn.0051c750]
push edi
mov edi, dword [fcn.0051c3d4]
lea ecx, [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x10], 8
call edi
mov ecx, dword [ebp - 0x24]
push esi
call edi
lea ecx, [ebp - 0x20]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call dword [fcn.0051c364]
push 8
call fcn.00930749
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x8c1bb7
push edi
mov ecx, esi
call dword [0x51cadc]
mov dword [esi], 0x523164
jmp 0x8c1bb9
xor esi, esi
push 0x5239bc
push 9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
mov dword [edi + 0x10], esi
call dword [0x51c8e0]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x13
push eax
call dword [0x51c300]
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x14
call dword [fcn.0051c5a4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call dword [0x51c6b4]
mov esi, eax
mov byte [ebp - 0x34], 0x2f
lea ecx, [ebp - 0x34]
push dword [ebp - 0x34]
call dword [fcn.0051c3bc]
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call dword [fcn.0051c360]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0x10
mov esi, eax
call dword [0x51c3d8]
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x18
call dword [fcn.0051c360]
mov esi, eax
mov dword [ebp - 0x10], 0x30
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp + 0xc]
call dword [fcn.0051c3d4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0089c620
add esp, 0xc
lea ecx, [ebp + 0xc]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x24]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x30]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x1c]
call dword [fcn.0051c5a8]
lea ecx, [ebp - 0x18]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1f
call dword [fcn.0051c364]
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call dword [0x51c9e8]
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], 3
mov eax, dword [ebx]
call dword [eax + 0x30]
lea ecx, [ebp - 0x2c]
call dword [fcn.0051c364]
lea ecx, [ebp - 0x14]
call dword [fcn.0051c358]
lea ecx, [ebp + 8]
call dword [fcn.0051c364]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8