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

Disassembly:
push 0xffffffffffffffff
push 0x5406dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [edi + 4]
lea ebx, [edi + 0x2c]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov cl, byte [edi + 0x14]
mov byte [esi + 0x14], cl
mov dl, byte [edi + 0x18]
mov byte [esi + 0x18], dl
mov al, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov cl, byte [edi + 0x28]
lea edx, [esp + 0x12]
mov byte [esi + 0x28], cl
lea ebp, [esi + 0x2c]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call fcn.004ffc70
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.0050e020
mov eax, dword [ebx + 4]
mov cl, byte [esp + 0x2c]
mov ebx, dword [ebx]
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x30], cl
push eax
push ebx
mov ecx, ebp
mov byte [esp + 0x30], 2
call fcn.00406a10
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
lea ebp, [edi + 0x40]
lea edx, [esp + 0x13]
lea ebx, [esi + 0x40]
push edx
mov ecx, ebp
mov dword [esp + 0x28], 3
mov dword [esp + 0x1c], ebx
call fcn.004ffc70
mov ecx, eax
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
mov byte [esp + 0x24], 4
shr eax, 0x1f
add edx, eax
mov dword [ebx], 0
mov dword [esp + 0x2c], edx
lea eax, [ebx + 8]
push 0
push ecx
mov ecx, eax
mov dword [ebx + 4], 0
call fcn.005124c0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x24], 5
test ecx, ecx
je 0x4f7ef8
lea ecx, [ecx + ecx*4]
shl ecx, 3
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x30]
add esp, 4
jmp 0x4f7efa
xor eax, eax
lea edx, [ecx + ecx*4]
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [eax + edx*8]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ebp + 4]
mov byte [esp + 0x2c], 7
push eax
push ecx
call fcn.004cad10
add esp, 0x10
mov dword [ebx + 4], eax
lea ebx, [edi + 0x4c]
lea edx, [esp + 0x12]
lea ebp, [esi + 0x4c]
push edx
mov ecx, ebx
mov byte [esp + 0x28], 8
mov dword [esp + 0x1c], ebp
call fcn.004ffc70
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
sub ecx, edx
mov eax, 0x66666667
mov byte [esp + 0x28], 9
imul ecx
sar edx, 4
mov eax, edx
mov ecx, ebp
shr eax, 0x1f
add edx, eax
push edx
call fcn.004f80e0
mov edx, dword [ebp]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0xb
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
call fcn.004cad10
add esp, 0x10
mov dword [ebp + 4], eax
mov edx, dword [edi + 0x58]
lea ecx, [esp + 0x13]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x5c]
add edi, 0x60
lea ebx, [esi + 0x60]
push ecx
mov ecx, edi
mov byte [esp + 0x28], 0xc
mov dword [esi + 0x5c], eax
mov dword [esp + 0x1c], ebx
call fcn.004ffc70
push eax
mov ecx, ebx
mov byte [esp + 0x28], 0xd
call fcn.0050e020
mov dl, byte [esp + 0x2c]
lea eax, [esp + 0x2c]
mov byte [esp + 0x24], 0xf
mov byte [esp + 0x2c], dl
push eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
mov ecx, ebx
call fcn.00406a10
mov ecx, dword [esp + 0x1c]
mov dword [esi], fcn.0051cbb0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4