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

Disassembly:
push 0xffffffffffffffff
push 0x51346f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x5580c0]
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
mov edx, dword [0x5580c0]
lea ebx, [esi + 8]
mov dword [ebx], edx
mov eax, dword [0x5580c0]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0x5580c0]
mov dword [esi + 0x10], edx
mov eax, dword [0x5580c0]
mov dword [esi + 0x18], eax
mov edx, dword [0x5580c0]
mov dword [esi + 0x1c], edx
mov eax, dword [0x5580c0]
mov dword [esi + 0x20], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1c], 7
mov dword [esi], 0x523e94
lea edx, [edi + 4]
push edx
call fcn.004dd586
lea eax, [edi + 8]
mov ecx, ebx
push eax
call fcn.004dd586
lea ecx, [edi + 0xc]
push ecx
mov ecx, ebp
call fcn.004dd586
lea edx, [edi + 0x10]
lea ecx, [esi + 0x10]
push edx
call fcn.004dd586
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0x18]
push ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], eax
call fcn.004dd586
lea edx, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push edx
call fcn.004dd586
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x40]
lea eax, [edi + 0x20]
mov dword [esi + 0x40], edx
push eax
lea ecx, [esi + 0x20]
call fcn.004dd586
mov ecx, dword [edi + 0x48]
push 0x64
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x6c], ecx
call fcn.004dda96
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 8
je 0x4788c4
mov edx, dword [edi + 0x70]
mov ecx, eax
push edx
call fcn.0043ee40
jmp 0x4788c6
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x78]
mov dword [esi + 0x78], ecx
mov edx, dword [edi + 0x7c]
mov dword [esi + 0x7c], edx
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
mov ecx, dword [edi + 0x84]
mov dword [esi + 0x84], ecx
mov edx, dword [edi + 0x88]
mov dword [esi + 0x88], edx
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x8c], eax
mov ecx, dword [edi + 0x90]
mov dword [esi + 0x90], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x94], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4