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

Disassembly:
push 0xffffffffffffffff
push 0x5492c9
mov eax, dword fs:[0]
push eax
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
xor ebx, ebx
cmp byte [ecx + 0x7d], bl
je 0x4f8d4e
mov eax, dword [esp + 0x244]
cmp byte [esp + 0x248], bl
je 0x4f8b84
mov ecx, eax
shr ecx, 5
dec eax
xor ebp, ebp
shr eax, 5
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
push 1
push 2
lea ecx, [esp + 0x1b4]
call fcn.0047d9e0
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x234], ebx
cmp eax, ebx
je 0x4f87da
lea esi, [eax + 4]
jmp 0x4f87dc
xor esi, esi
lea eax, [esp + 0x88]
push 2
push eax
call fcn.00526298
lea ecx, [esp + 0x1b4]
push esi
push ecx
mov edi, eax
call fcn.004c0980
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x4f8808
xor eax, eax
jmp 0x4f880f
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov byte [eax + 0x30], 0x30
lea eax, [ebp + 1]
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.00480ef0
mov edi, 0x20
cmp dword [esp + 0x78], ebp
jne 0x4f884a
mov edi, dword [esp + 0x244]
and edi, 0x1f
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1b0]
call fcn.0047b910
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 1
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004787f0
mov esi, 0x469080
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x240]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x30]
push edi
push ebp
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x240], 2
call fcn.004f71b0
mov dword [esp + 0x18], esi
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x4f88c7
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005265f5
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x234], bl
cmp dword [esp + 0x70], esi
jb 0x4f88f1
mov edx, dword [esp + 0x5c]
push edx
call fcn.005265f5
add esp, 4
push 1
push 2
lea ecx, [esp + 0xb4]
call fcn.0047d9e0
xor esi, esi
cmp edi, ebx
mov byte [esp + 0x234], 3
jle 0x4f8999
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0xbc]
lea eax, [esp + eax + 0xac]
and ecx, 0xfffff9ff
or ecx, 0x804
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0xac]
mov byte [eax + 0x30], 0x30
lea eax, [esp + 0x80]
push 2
push eax
call fcn.00526298
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xb4]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 4]
lea edx, [esp + ecx + 0xb8]
push edx
call eax
movzx cx, byte [esi + ebp]
movzx edx, cx
add esp, 0x10
push edx
lea ecx, [esp + 0xb0]
call fcn.004c0c00
inc esi
cmp esi, edi
jl 0x4f8913
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
call fcn.0047b910
push 0xffffffffffffffff
push ebx
mov edi, 0xf
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x240], 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004787f0
mov esi, 0x469080
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x238], 5
call fcn.0047b910
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 6
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004787f0
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x30]
mov byte [esp + 0x234], 7
mov ecx, esi
cmp esi, 3
jb 0x4f8a30
lea ecx, [edi - 0xc]
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4f8a3f
lea eax, [esp + 0x20]
push ecx
push 0x46dbb0
push eax
call fcn.00481b70
add esp, 0xc
cmp eax, ebx
jne 0x4f8a63
cmp esi, 3
jb 0x4f8a63
xor eax, eax
cmp esi, 3
setne al
cmp eax, ebx
je 0x4f8a7f
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004f7120
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004f7120
mov esi, 0x10
mov dword [esp + 0x18], 0x469080
cmp dword [esp + 0x34], esi
jb 0x4f8a9f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005265f5
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x70], esi
jb 0x4f8abe
mov edx, dword [esp + 0x5c]
push edx
call fcn.005265f5
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x38], 0x469080
cmp dword [esp + 0x54], esi
jb 0x4f8ae5
mov eax, dword [esp + 0x40]
push eax
call fcn.005265f5
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0xa8], esi
jb 0x4f8b0a
mov ecx, dword [esp + 0x94]
push ecx
call fcn.005265f5
add esp, 4
add ebp, 0x20
lea ecx, [esp + 0xf8]
mov dword [esp + 0x240], ebp
mov byte [esp + 0x234], bl
call fcn.004774d0
lea edx, [esp + 0xf8]
mov esi, 0x46923c
push edx
mov dword [esp + 0xfc], esi
call fcn.00526077
add esp, 4
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x234], 0xffffffff
call fcn.004774d0
lea eax, [esp + 0x1f8]
push eax
mov dword [esp + 0x1fc], esi
call fcn.00526077
mov ebp, dword [esp + 0x78]
add esp, 4
cmp ebp, dword [esp + 0x7c]
jbe 0x4f87b3
jmp 0x4f8d4e
cmp eax, 0x20
jb 0x4f8b8e
mov eax, 0x20
mov edi, dword [esp + 0x240]
mov ebp, dword [esp + 0x23c]
mov ecx, dword [ecx + 0x30]
push eax
push edi
push ebp
call fcn.004f71b0
push 1
push 2
lea ecx, [esp + 0x134]
call fcn.0047d9e0
mov dword [esp + 0x234], 8
xor esi, esi
mov eax, dword [esp + 0x244]
cmp eax, 0x20
jb 0x4f8bd5
mov eax, 0x20
cmp esi, eax
jae 0x4f8c5d
mov ecx, dword [esp + 0x12c]
mov eax, dword [ecx + 4]
mov edx, dword [esp + eax + 0x13c]
lea eax, [esp + eax + 0x12c]
and edx, 0xfffff9ff
or edx, 0x804
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x80]
push 2
push edx
mov byte [esp + ecx + 0x164], 0x30
call fcn.00526298
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x134]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 4]
lea edx, [esp + ecx + 0x138]
push edx
call eax
movzx cx, byte [esi + edi]
movzx edx, cx
add esp, 0x10
push edx
lea ecx, [esp + 0x130]
call fcn.004c0c00
inc esi
jmp 0x4f8bc4
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x130]
call fcn.0047b910
push 0xffffffffffffffff
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x240], 9
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004787f0
mov edi, 0x469080
mov dword [esp + 0x38], edi
mov edx, dword [ebp + 0x18]
push 3
lea ecx, [ebp + 4]
push 0x46dbb0
push edx
push ebx
mov byte [esp + 0x244], 0xa
call fcn.00481f20
test eax, eax
je 0x4f8cd5
push ebp
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.004f7120
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.004f7120
mov dword [esp + 0x38], edi
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x4f8cf1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005265f5
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x70], edi
jb 0x4f8d10
mov edx, dword [esp + 0x5c]
push edx
call fcn.005265f5
add esp, 4
lea ecx, [esp + 0x178]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x234], 0xffffffff
call fcn.004774d0
lea eax, [esp + 0x178]
push eax
mov dword [esp + 0x17c], 0x46923c
call fcn.00526077
add esp, 4
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 0x10