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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e50fb
sub esp, 0x70
mov eax, dword [esp + 0x74]
cmp eax, 0xff
jg 0x4e4e45
cmp eax, 0x20
jl 0x4e4e17
cmp eax, 0x7e
jg 0x4e4e17
mov byte [esp + 0x78], 1
add esp, 0x70
ret
cmp eax, 0xa1
jl 0x4e4e3c
cmp eax, 0xff
jg 0x4e4e3c
cmp eax, 0xad
jne 0x4e4e35
mov byte [esp + 0x78], 0
add esp, 0x70
ret
mov byte [esp + 0x78], 1
jmp 0x4e4e31
mov byte [esp + 0x78], 0
add esp, 0x70
ret
cmp eax, 0
jl 0x4e4f97
cmp eax, 0x10000
jge 0x4e4f97
mov edx, dword [0x6bae88]
mov ecx, dword [0x6bae8c]
mov ebx, dword [0x6bae90]
mov dword [esp + 0x6c], ebx
mov ebx, dword [0x6bae68]
mov dword [esp + 0x58], ebx
mov edi, dword [0x6bae6c]
mov esi, dword [0x6bae70]
mov ebp, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], edx
mov dword [esp], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
mov word [esp + 0x16], bp
mov word [esp + 0xc], bp
call fcn.004e4d00
mov edi, dword [esp + 0x28]
movzx esi, word [esp + 0x16]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp eax, edx
jge 0x4e4f80
mov ebx, eax
and ebx, 0xfffffffe
cmp ebx, edx
jae 0x4e4f90
mov ebp, edi
shl ebx, 1
add ebp, ebx
movzx ebx, word [ebp]
cmp bx, si
ja 0x4e4f80
mov ebx, eax
or ebx, 1
cmp ebx, edx
jae 0x4e4f89
mov ebp, edi
shl ebx, 1
add ebp, ebx
movzx ebx, word [ebp]
cmp bx, si
jb 0x4e4f80
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov word [esp + 0xc], si
call fcn.004e4d00
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
cmp eax, edx
jge 0x4e4f72
mov ebx, eax
cmp eax, edx
jae 0x4e4f79
mov ebp, dword [esp + 0x40]
shl ebx, 1
add ebp, ebx
movzx ebx, word [ebp]
mov eax, ebx
movzx ebx, word [esp + 0x16]
cmp ax, bx
jne 0x4e4f72
mov byte [esp + 0x78], 0
add esp, 0x70
ret
mov byte [esp + 0x78], 1
jmp 0x4e4f6e
call fcn.00427990
ud2
mov byte [esp + 0x78], 0
add esp, 0x70
ret
call fcn.00427990
ud2
call fcn.00427990
ud2
mov edx, dword [0x6bae98]
mov ecx, dword [0x6bae9c]
mov esi, dword [0x6baea0]
mov ebx, dword [0x6bae78]
mov dword [esp + 0x58], ebx
mov ebx, dword [0x6bae7c]
mov dword [esp + 0x5c], ebx
mov edi, dword [0x6bae80]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], edx
mov dword [esp], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 8], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
call fcn.004e4d70
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x4e50e4
mov ebx, eax
and ebx, 0xfffffffe
cmp ebx, ecx
jae 0x4e50f4
mov ebp, esi
shl ebx, 2
add ebp, ebx
mov edx, dword [ebp]
cmp edx, edi
ja 0x4e50e4
mov ebx, eax
or ebx, 1
cmp ebx, ecx
jae 0x4e50ed
mov ebp, esi
shl ebx, 2
add ebp, ebx
mov eax, dword [ebp]
cmp eax, edi
jb 0x4e50e4
mov ebx, dword [esp + 0x74]
cmp ebx, 0x20000
jl 0x4e5076
mov byte [esp + 0x78], 1
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
sub eax, 0x10000
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0x74], eax
mov word [esp + 0xc], ax
call fcn.004e4d00
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp eax, edx
jge 0x4e50d6
mov ebx, eax
cmp eax, edx
jae 0x4e50dd
mov ebp, dword [esp + 0x34]
shl ebx, 1
add ebp, ebx
movzx ebx, word [ebp]
mov ecx, ebx
mov ebx, dword [esp + 0x74]
cmp cx, bx
jne 0x4e50d6
mov byte [esp + 0x78], 0
add esp, 0x70
ret
mov byte [esp + 0x78], 1
jmp 0x4e50d2
call fcn.00427990
ud2
mov byte [esp + 0x78], 0
add esp, 0x70
ret
call fcn.00427990
ud2
call fcn.00427990
ud2
call fcn.0044ff60
jmp fcn.004e4de0