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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403e5c
xor eax, eax
push ebp
push 0x47c904
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47c91c
lea eax, [ebp - 8]
push eax
mov ecx, 0x47c928
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00403a80
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x47c93c
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 4]
call fcn.00403a80
push 0x47c954
lea eax, [ebp - 8]
push eax
mov ecx, 0x47c960
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 8]
call fcn.00403a80
push 0x47c974
lea eax, [ebp - 8]
push eax
mov ecx, 0x47c988
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0xc]
call fcn.00403a80
push 0x47c9a0
lea eax, [ebp - 8]
push eax
mov ecx, 0x47c9b4
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x10]
call fcn.00403a80
push 0x47c9cc
lea eax, [ebp - 8]
push eax
mov ecx, 0x47c9dc
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x14]
call fcn.00403a80
push 0x47c9f8
lea eax, [ebp - 8]
push eax
mov ecx, 0x47ca08
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x18]
call fcn.00403a80
push 0x47ca1c
lea eax, [ebp - 8]
push eax
mov ecx, 0x47ca28
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x1c]
call fcn.00403a80
push 0x47ca44
lea eax, [ebp - 8]
push eax
mov ecx, 0x47ca58
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x20]
call fcn.00403a80
push 0x47ca70
lea eax, [ebp - 8]
push eax
mov ecx, 0x47ca80
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x24]
call fcn.00403a80
push 0x47ca94
lea eax, [ebp - 8]
push eax
mov ecx, 0x47caa8
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x28]
call fcn.00403a80
push 0x47cac0
lea eax, [ebp - 8]
push eax
mov ecx, 0x47cad8
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x2c]
call fcn.00403a80
push 0x47caf4
lea eax, [ebp - 8]
push eax
mov ecx, 0x47cb08
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x30]
call fcn.00403a80
push 0x47cb20
lea eax, [ebp - 8]
push eax
mov ecx, 0x47cb38
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x34]
call fcn.00403a80
push 0x47cb54
lea eax, [ebp - 8]
push eax
mov ecx, 0x47cb68
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x38]
call fcn.00403a80
push 0x47cb80
lea eax, [ebp - 8]
push eax
mov ecx, 0x47cb94
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x3c]
call fcn.00403a80
push 0x47cbac
lea eax, [ebp - 8]
push eax
mov ecx, 0x47cbbc
mov edx, dword [ebp - 4]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 8]
lea eax, [esi + 0x40]
call fcn.00403a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c90b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a50
ret