Function at 0x4f9520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5402c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58ab78]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58ab78]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0xa0]
mov edx, ebp
mov dword [esp + 0x20], edx
test ebp, ebp
je 0x4f9801
mov edi, edi
mov eax, dword [ebp]
sub eax, 0x1b
je 0x4f9700
sub eax, 2
jne 0x4f97f2
mov ebx, dword [ebp + 8]
mov edi, edx
cmp ebx, 0x2710
jle 0x4f95cd
mov eax, dword [ecx]
lea ecx, [esp + 0x24]
push 0
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov esi, dword [eax + 4]
push ecx
push esi
push dword [eax]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ebx
call fcn.00479990
mov ecx, dword [esp + 0x28]
add esp, 0x14
cmp eax, esi
je 0x4f95e6
cmp dword [eax + 4], ebx
jne 0x4f95e6
mov ebx, dword [eax]
test ebx, ebx
js 0x4f95e6
cmp dword [edi], 0
jne 0x4f95df
cmp dword [edi + 8], ebx
je 0x4f96aa
mov edi, dword [edi + 4]
test edi, edi
jne 0x4f95d1
mov eax, dword [ecx]
cmp dword [eax + 0x18], 0
jne 0x4f95f5
mov dword [eax + 0x18], 2
mov eax, dword [ecx]
mov dword [eax + 0x1c], 0
mov eax, dword [ecx]
mov dword [eax + 0x20], 0
mov eax, dword [ecx]
test dword [eax + 0x14], 0x40000
jne 0x4f97f2
push 0x52
push str.Encountered_a_forward_reference_to_a_recursive_sub_expression_that_does_not_exist.
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.00431d40
push 0
push 2
lea eax, [esp + 0x64]
mov dword [esp + 0xa0], 2
push eax
lea ecx, [esp + 0x54]
call fcn.00502700
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 3
call fcn.00502a10
lea ecx, [esp + 0x48]
call fcn.005027f0
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x98], 0xffffffff
jb 0x4f9690
push dword [esp + 0x5c]
call fcn.0047d4a0
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jmp 0x4f97ee
mov dword [ebp + 8], edi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4f97ee
mov eax, dword [ecx]
dec eax
cmp eax, 0x18
ja case.0x4f96c7.2
movzx eax, byte [eax + 0x4f9834]
jmp dword [eax*4 + 0x4f9828]
mov eax, dword [ecx + 0x118]
test eax, eax
je case.0x4f96c7.2
mov ecx, dword [esp + 0x14]
jle 0x4f97f2
dec eax
mov dword [ebp + 0xc], eax
jmp 0x4f97f2
cmp dword [ecx + 8], ebx
je 0x4f97ee
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x4f96b8
jmp 0x4f97ee
mov eax, dword [ebp + 8]
test eax, eax
jns 0x4f97f2
or edi, 0xffffffff
sub edi, eax
cmp edi, 0x2710
jl 0x4f97f2
mov ebx, dword [ecx]
lea eax, [esp + 0x2c]
push 0
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov esi, dword [ebx + 4]
push eax
push esi
push dword [ebx]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edi
call fcn.00479990
add esp, 0x14
cmp eax, esi
je 0x4f975a
cmp dword [eax + 4], edi
jne 0x4f975a
cmp dword [eax], 0
jg 0x4f97ee
cmp dword [ebx + 0x18], 0
jne 0x4f9767
mov dword [ebx + 0x18], 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [eax + 0x1c], 0
mov eax, dword [ecx]
mov dword [eax + 0x20], 0
mov eax, dword [ecx]
test dword [eax + 0x14], 0x40000
jne 0x4f97f2
push str.Encountered_a_forward_reference_to_a_marked_sub_expression_that_does_not_exist.
lea ecx, [esp + 0x78]
call fcn.00427910
push 0
push 2
lea eax, [esp + 0x7c]
mov dword [esp + 0xa0], 0
push eax
lea ecx, [esp + 0x40]
call fcn.00502700
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 1
call fcn.00502a10
lea ecx, [esp + 0x34]
call fcn.005027f0
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x98], 0xffffffff
jb 0x4f97ee
push dword [esp + 0x74]
call fcn.0047d4a0
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 4]
mov edx, dword [esp + 0x20]
test ebp, ebp
jne 0x4f9570
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0049f3ce
add esp, 0x88
ret 4