Function at 0x474f80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
lea esi, [ebp - 0x6c]
xor eax, eax
push ebp
push 0x475246
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xb0]
xor ecx, ecx
mov edx, 0x44
call fcn.00403af4
mov dword [ebp - 0xb0], 0x44
mov dword [ebp - 0x84], 1
mov word [ebp - 0x80], 0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push 0
call fcn.004079a0
mov ebx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
call fcn.0040a26c
test al, al
jne 0x47502f
lea eax, [ebp - 4]
mov edx, 0x47525c
call fcn.004055c8
mov eax, dword [ebp - 8]
call fcn.0040a26c
test al, al
jne 0x475045
lea edx, [ebp - 8]
xor eax, eax
call fcn.0040f234
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004055c8
mov edx, 0x475264
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x2c], eax
mov edx, 0x475274
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x30], eax
mov edx, 0x475280
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x34], eax
mov edx, 0x475288
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x38], eax
mov edx, 0x475294
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x3c], eax
mov edx, 0x4752a0
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x40], eax
mov edx, 0x4752ac
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x44], eax
mov edx, 0x4752bc
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x48], eax
mov edx, 0x4752d0
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x54], eax
mov edx, 0x4752dc
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x4c], eax
mov edx, 0x4752e8
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0xc]
call fcn.004059dc
mov edx, eax
mov eax, ebx
call fcn.00474d58
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0xb8]
mov dword [esi + 0x58], eax
push 0x4752fc
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi], eax
push 0x475318
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 4], eax
push 0x475280
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0xc], eax
push 0x475288
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0xc], eax
push 0x475294
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x10], eax
push 0x4752a0
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x14], eax
push 0x4752ac
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x18], eax
push 0x4752bc
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x1c], eax
push 0x4752d0
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x20], eax
push 0x4752dc
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x24], eax
push 0x4752e8
push 0x47530c
call fcn.00407b08
push eax
call fcn.00407b10
mov dword [esi + 0x28], eax
push 0x60
push 0
mov ecx, esi
mov edx, 0x474e94
mov eax, ebx
call fcn.00474e20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47524d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret