Function at 0x4f5550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72f98c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, 1
mov edi, ecx
mov dword [ebp - 0x14], ebx
jl 0x4f575a
mov ecx, dword [edi + 0x1c]
sub ecx, 0x14
cmp eax, ecx
jge 0x4f575a
mov eax, dword [ebp + 0x10]
cmp eax, 0x11
jl 0x4f575a
mov ecx, dword [edi + 0xc8]
mov edx, dword [edi + 0xc0]
imul edx, ecx
add edx, 0x11
cmp eax, edx
jge 0x4f575a
add eax, 0xffffffef
mov dword [ebp + 0x10], ebx
cdq
idiv ecx
mov ecx, dword [edi + 0x9c]
mov esi, dword [ecx]
cmp esi, ecx
mov dword [ebp - 0x10], eax
je 0x4f5607
mov edx, dword [edi + 0xbc]
mov eax, dword [edi + 0xb8]
imul eax, edx
mov dword [ebp - 0x14], eax
cmp ebx, eax
jge 0x4f55e8
mov esi, dword [esi]
inc ebx
jmp 0x4f5603
mov eax, dword [edi + 0xbc]
mov edx, dword [ebp + 0x10]
imul eax, dword [ebp - 0x10]
cmp edx, eax
je 0x4f5644
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
inc edx
inc ebx
mov dword [ebp + 0x10], edx
cmp esi, ecx
jne 0x4f55df
mov esi, dword [ebp + 8]
mov dl, byte [ebp + 0xb]
mov dword [edi + 0xc4], 0xffffffff
push 0
lea ecx, [esi + 0xc]
mov dword [esi], 0
mov byte [ecx], dl
call fcn.00420200
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x1c]
push 0
mov dword [ebp - 4], 3
mov byte [ecx], al
call fcn.00420200
jmp 0x4f577c
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4f5650
mov eax, 0x73a7f4
push eax
lea ecx, [ebp - 0x64]
push 0x76a9dc
push ecx
call fcn.00711e28
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0x14
jle 0x4f5720
push 0
push 0xc
push 0
lea edx, [ebp - 0x64]
push 0
push edx
mov ecx, edi
call fcn.004ffa70
mov ecx, dword [ebp + 0xc]
add eax, 0x1a
cmp ecx, eax
jge 0x4f5720
mov dword [edi + 0xc4], ebx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
push 0
mov dword [edi], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x10]
mov dword [edi + 8], edx
mov al, byte [esi + 0x14]
lea ebx, [edi + 0xc]
mov ecx, ebx
mov byte [ebx], al
call fcn.00420200
mov ecx, dword [0x73a7f0]
lea eax, [esi + 0x14]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.0041fed0
mov dl, byte [esi + 0x24]
lea ebx, [edi + 0x1c]
push 0
mov ecx, ebx
mov dword [ebp - 4], 1
mov byte [ebx], dl
call fcn.00420200
mov eax, dword [0x73a7f0]
mov ecx, ebx
push eax
lea eax, [esi + 0x24]
push 0
push eax
call fcn.0041fed0
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 0x38]
mov dword [edi + 0x30], edx
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x34], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
mov dl, byte [ebp + 0xb]
mov dword [edi + 0xc4], 0xffffffff
push 0
lea ecx, [esi + 0xc]
mov dword [esi], 0
mov byte [ecx], dl
call fcn.00420200
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x1c]
push 0
mov dword [ebp - 4], 2
mov byte [ecx], al
call fcn.00420200
jmp 0x4f577c
mov esi, dword [ebp + 8]
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [esi + 0xc]
mov dword [esi], ebx
mov byte [ecx], dl
call fcn.00420200
lea eax, [ebp + 0xf]
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 4], ebx
call fcn.0049ad70
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc