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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x4e6eaa
sub esp, 0xd0
mov byte [esp + 0xd4], 0
mov byte [esp + 0xd5], 0
mov byte [esp + 0xd5], 0
mov byte [esp + 0xd4], 0
mov ebx, 0x5f718c
mov dword [esp], ebx
mov dword [esp + 4], 3
call fcn.004e4900
mov ebx, dword [esp + 8]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x94], ebx
mov byte [esp + 0x25], 0x7f
mov byte [esp + 0x24], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 1
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp], 0x5c5920
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], 0
call fcn.0043d560
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], ecx
mov ebp, dword [0x6c6df8]
mov edx, dword [0x6c6dfc]
mov ebx, dword [0x6c6e00]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], edx
cmp edx, eax
jge 0x4e6bda
mov eax, edx
mov dword [esp + 0x80], esi
mov dword [esp], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00454a30
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
movzx ebx, byte [esp + 0x25]
mov esi, ebx
cmp ecx, 0xc
jbe 0x4e6ea3
mov ebx, edx
add ebx, 0xc
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
movzx ebx, byte [esp + 0x24]
mov esi, ebx
cmp ecx, 0xd
jbe 0x4e6e9c
mov ebx, edx
add ebx, 0xd
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
movzx ebx, byte [esp + 0x23]
mov esi, ebx
cmp ecx, 0xe
jbe 0x4e6e95
mov ebx, edx
add ebx, 0xe
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
movzx ebx, byte [esp + 0x22]
mov esi, ebx
cmp ecx, 0xf
jbe 0x4e6e8e
mov ebx, edx
add ebx, 0xf
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x98]
mov edi, ecx
cmp ecx, 0
je 0x4e6e87
mov esi, 0x61c8a0
mov edx, ecx
cld
call fcn.004547b4
mov ebp, dword [esp + 0x8c]
mov dword [edx], ebp
mov ebp, dword [esp + 0x90]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x94]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [edx + 0x1c], ebp
mov ebp, dword [esp + 0x54]
mov dword [edx + 0x20], ebp
mov ebp, dword [esp + 0x58]
mov dword [edx + 0x24], ebp
mov ebx, edx
mov edx, 2
mov dword [esp + 0x64], 2
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
xor ecx, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], edx
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
jge 0x4e6d40
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp], 0x17
mov dword [esp + 4], 1
mov dword [esp + 8], 6
mov edx, dword [0x6c6834]
mov ebx, dword [edx]
call ebx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
cmp ecx, 0
je 0x4e6d67
mov ecx, dword [esp + 0x34]
inc ecx
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
jl 0x4e6cf1
movzx ebx, byte [esp + 0x27]
mov ecx, ebx
movzx ebx, byte [esp + 0x26]
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], cl
nop
call fcn.0042acc0
add esp, 0xd0
ret
mov dword [esp + 0x28], edx
mov dword [esp + 8], edx
mov ebx, dword [0x6c6824]
mov dword [esp], 0xc
mov dword [esp + 4], ebx
call fcn.00429df0
cmp eax, 0
jne 0x4e6e7a
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], 0x29
mov dword [esp + 8], 0x1b
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
cmp ebx, ebp
jae 0x4e6e73
mov ebp, dword [esp + 0x5c]
imul ebx, ebx, 0x1c
add ebp, ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0xc], ebx
call fcn.00458760
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
cmp ebx, ebp
jae 0x4e6e6c
mov ebp, dword [esp + 0x5c]
imul ebx, ebx, 0x1c
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], 0x17
call fcn.004ed4b0
mov edx, dword [esp + 8]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
cmp ebp, 0
jne 0x4e6d33
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004587d0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ecx
cmp ecx, 0
jne 0x4e6d33
mov ecx, 1
mov ebx, dword [esp + 0x2c]
lea ebp, [esp + 0x26]
cmp ebx, 2
jae 0x4e6e65
add ebp, ebx
mov byte [ebp], cl
jmp 0x4e6d33
call fcn.00429b10
ud2
call fcn.00429b10
ud2
call fcn.00429b10
ud2
nop
call fcn.0042acc0
add esp, 0xd0
ret
mov dword [ecx], eax
jmp 0x4e6c83
call fcn.00429b10
ud2
call fcn.00429b10
ud2
call fcn.00429b10
ud2
call fcn.00429b10
ud2
call fcn.00452240
jmp fcn.004e6ad0