Function at 0x4f6b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5788
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov byte [eax], 1
mov ecx, dword [edi + 0x1c]
cmp dword [edi + 0xc], ecx
push dword [edi + 0x30]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [edi]
call fcn.00475ef0
xor ebx, ebx
mov dword [edi + 0x30], 1
mov esi, 0xf
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
cmp byte [edi + 0x2d], bl
jne 0x4f6bfa
nop
mov edx, dword [edi + 0x38]
cmp edx, 0x20
je 0x4f6bfa
cmp edx, 9
jl 0x4f6b92
cmp edx, 0xd
jle 0x4f6bfa
mov ecx, edx
call fcn.00478380
test al, al
jne 0x4f6bfa
push edx
call dword [0x5ad86c]
add esp, 4
mov byte [ebp - 0x38], al
cmp ebx, esi
jae 0x4f6bc9
lea ecx, [ebx + 1]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6bbf
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + ebx], al
mov byte [ecx + ebx + 1], 0
jmp 0x4f6bdc
push dword [ebp - 0x38]
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0042a1d0
mov ecx, edi
call fcn.004761d0
cmp byte [edi + 0x2d], 0
mov esi, dword [ebp - 0x18]
jne 0x4f6bf4
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
jmp 0x4f6b80
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6c07
mov eax, ebx
mov ecx, dword [ebp - 0x40]
push eax
call fcn.00475500
test al, al
je 0x4f6c2e
mov dword [edi + 0x30], 2
lea ecx, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6c25
mov ecx, ebx
push 3
push 0x5bcd04
jmp 0x4f6c8e
lea eax, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6c38
mov eax, ebx
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00475500
test al, al
je 0x4f6c5f
mov dword [edi + 0x30], 3
lea ecx, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6c56
mov ecx, ebx
push 3
push 0x5bcd2c
jmp 0x4f6c8e
lea eax, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6c69
mov eax, ebx
mov ecx, dword [ebp - 0x48]
push eax
call fcn.00475500
test al, al
je 0x4f6ca3
mov dword [edi + 0x30], 4
lea ecx, [ebp - 0x2c]
cmp esi, 0x10
jb 0x4f6c87
mov ecx, ebx
push 3
push 0x5bcd28
mov edx, dword [ebp - 0x30]
call fcn.00436600
add esp, 8
test al, al
jne 0x4f6ca3
mov eax, dword [ebp - 0x34]
mov byte [eax], 0
mov ecx, dword [edi + 0x1c]
cmp dword [edi + 0xc], ecx
push dword [edi + 0x30]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [edi]
call fcn.00475ef0
mov dword [edi + 0x30], 0
cmp esi, 0x10
jb 0x4f6cf2
inc esi
mov eax, ebx
cmp esi, 0x1000
jb 0x4f6ce8
mov ebx, dword [ebx - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f6ce8
call dword [0x5ad78c]
push esi
push ebx
call fcn.0059e222
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
ret