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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4f87a4
sub esp, 0x98
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
xor edx, edx
cmp edx, eax
jge 0x4f809c
jae 0x4f879d
movzx ebx, byte [ecx + edx]
cmp bl, 0xa
jne 0x4f878f
inc edx
cmp edx, eax
jl 0x4f8084
xor ebx, ebx
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
xor ebp, ebp
mov dword [esp + 0x24], ebp
xor esi, esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], esi
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa0]
mov byte [esp + 0x13], bl
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
cmp edx, eax
jge 0x4f875a
test bl, bl
jne 0x4f875a
mov dword [esp + 0x20], 0
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
cmp ebp, 4
jge 0x4f81d3
cmp eax, edx
je 0x4f86bc
cmp edx, eax
jae 0x4f86b5
movzx esi, byte [ecx + edx]
inc edx
cmp edx, eax
jge 0x4f815d
jae 0x4f86ae
movzx edi, byte [ecx + edx]
xchg edi, eax
cmp al, 0xa
xchg edi, eax
jne 0x4f869e
inc edx
mov edi, dword [esp + 0xa4]
cmp edx, eax
jl 0x4f813c
mov edi, dword [esp + 0x9c]
mov ebx, dword [edi + 0x140]
xchg esi, eax
movzx ecx, al
xchg esi, eax
cmp ecx, ebx
je 0x4f849f
xchg esi, eax
movzx ecx, al
xchg esi, eax
movzx ecx, byte [edi + ecx + 0x40]
cmp ebp, 4
jae 0x4f8498
mov byte [esp + ebp + 0x20], cl
cmp cl, 0xff
je 0x4f843b
lea ecx, [ebp + 1]
mov ebx, dword [esp + 0xac]
movzx ebx, byte [esp + 0x13]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x18]
cmp ebp, 4
jl 0x4f8123
mov edi, dword [esp + 0x9c]
mov ebp, 4
mov dword [esp + 0x60], eax
mov eax, 3
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x94], ebx
mov ecx, 2
lea eax, [esp + 0x20]
movzx ecx, byte [eax + ecx]
mov edx, 1
movzx edx, byte [eax + edx]
xor ebx, ebx
movzx eax, byte [eax + ebx]
movzx ebx, byte [esp + 0x23]
shl eax, 0x12
shl edx, 0xc
or eax, edx
shl ecx, 6
or eax, ecx
or ebx, eax
mov byte [esp + 0x22], bl
mov eax, ebx
shr ebx, 8
mov byte [esp + 0x21], bl
shr eax, 0x10
mov byte [esp + 0x20], al
cmp ebp, 2
jne 0x4f8350
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jbe 0x4f8349
mov edx, dword [esp + 0xa0]
mov byte [edx], al
movzx eax, byte [edi + 0x144]
test al, al
je 0x4f8290
movzx eax, byte [esp + 0x21]
test al, al
jne 0x4f82ed
movzx eax, byte [esp + 0x22]
test al, al
jne 0x4f82ed
mov eax, dword [esp + 0x1c]
cmp eax, ecx
ja 0x4f82e6
sub ecx, eax
mov ebx, dword [esp + 0xa8]
sub ebx, eax
lea edi, [ebx - 1]
sar edi, 0x1f
xor edi, 0xffffffff
and edi, eax
lea eax, [edi + edx]
mov edx, dword [esp + 0x24]
lea edx, [ebp + edx - 1]
mov ebp, ebx
mov edi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x90], esi
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x14]
movzx ebx, byte [esp + 0x13]
mov esi, eax
mov eax, dword [esp + 0xb0]
jmp 0x4f80d7
call fcn.004246e0
ud2
mov eax, dword [esp + 0x14]
add eax, 0xfffffffe
mov dword [esp + 0x70], eax
sar eax, 0x1f
mov dword [esp + 0x74], eax
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
movzx edx, byte [esp + 0x13]
mov byte [esp + 0xbc], dl
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x98
ret
call fcn.00424680
ud2
cmp ebp, 3
jne 0x4f83f7
movzx eax, byte [esp + 0x21]
mov ecx, dword [esp + 0xa4]
cmp ecx, 1
jbe 0x4f83f0
mov edx, dword [esp + 0xa0]
mov byte [edx + 1], al
movzx eax, byte [edi + 0x144]
test al, al
je 0x4f838c
movzx eax, byte [esp + 0x22]
test al, al
jne 0x4f8396
mov byte [esp + 0x21], 0
jmp 0x4f8256
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x78], eax
sar eax, 0x1f
mov dword [esp + 0x7c], eax
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
movzx edx, byte [esp + 0x13]
mov byte [esp + 0xbc], dl
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x98
ret
call fcn.00424680
ud2
cmp ebp, 4
jne 0x4f8428
movzx eax, byte [esp + 0x22]
mov ecx, dword [esp + 0xa4]
cmp ecx, 2
jbe 0x4f8421
mov edx, dword [esp + 0xa0]
mov byte [edx + 2], al
mov byte [esp + 0x22], 0
jmp 0x4f8359
call fcn.00424680
ud2
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
jmp 0x4f8290
lea eax, [edx - 1]
mov dword [esp + 0x80], eax
sar eax, 0x1f
mov dword [esp + 0x84], eax
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x98
ret
call fcn.00424680
ud2
cmp ebp, 1
jbe 0x4f864a
cmp ebp, 2
jne 0x4f863e
cmp edx, eax
je 0x4f85ed
jae 0x4f85e6
mov ecx, dword [esp + 0xac]
movzx esi, byte [ecx + edx]
cmp esi, ebx
jne 0x4f8592
inc edx
cmp edx, eax
jge 0x4f84ef
jae 0x4f858b
movzx ebx, byte [ecx + edx]
cmp bl, 0xa
jne 0x4f857d
inc edx
cmp edx, eax
jl 0x4f84d7
mov dword [esp + 0x14], edx
cmp edx, eax
jl 0x4f852c
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x50], eax
mov eax, 1
mov byte [esp + 0x13], al
mov dword [esp + 0x48], ecx
mov ecx, 3
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
jmp 0x4f81fe
mov dword [esp + 0x88], edx
sar edx, 0x1f
mov dword [esp + 0x8c], edx
lea edx, [0x848720]
mov dword [esp], edx
lea esi, [esp + 0x88]
mov dword [esp + 4], esi
call fcn.0040a900
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x9c]
jmp 0x4f8505
cmp bl, 0xd
jne 0x4f84ef
jmp 0x4f84ea
call fcn.00424680
ud2
lea eax, [edx - 1]
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x98
ret
call fcn.00424680
ud2
mov dword [esp + 0x30], eax
sar eax, 0x1f
mov dword [esp + 0x34], eax
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x98
ret
mov ecx, dword [esp + 0xac]
jmp 0x4f84ef
lea eax, [edx - 1]
mov dword [esp + 0x38], eax
sar eax, 0x1f
mov dword [esp + 0x3c], eax
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x98
ret
xchg edi, eax
cmp al, 0xd
xchg edi, eax
jne 0x4f815d
jmp 0x4f8151
call fcn.00424680
ud2
call fcn.00424680
ud2
mov ebx, dword [esp + 0x9c]
mov ecx, dword [ebx + 0x140]
cmp ecx, 0xffffffff
jne 0x4f8707
cmp ebp, 2
jl 0x4f8707
lea ecx, [ebp - 1]
mov edi, ebx
mov dword [esp + 0x58], eax
mov eax, 1
mov byte [esp + 0x13], al
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x58]
jmp 0x4f81fe
sub edx, ebp
mov dword [esp + 0x40], edx
sar edx, 0x1f
mov dword [esp + 0x44], edx
lea eax, [0x848720]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040a900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x98
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
mov byte [esp + 0xbc], bl
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc4], eax
add esp, 0x98
ret
cmp bl, 0xd
jne 0x4f809c
jmp 0x4f8097
call fcn.00424680
ud2
call fcn.004486b0
jmp fcn.004f8050