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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4e76f6
sub esp, 0x94
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4e75eb
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x4e759f
mov ebx, dword [esp + 0xac]
test ebx, ebx
jne 0x4e7596
cmp al, 0x30
je 0x4e7378
mov ebp, 0xa
xor esi, esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], esi
mov byte [esp + 0x2f], al
mov dword [esp + 0x54], ebp
mov dword [esp], ebp
call fcn.004e6c40
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], edx
mov edx, 0xffffffff
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
jmp 0x4e6e28
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov byte [esp + 0x2f], cl
mov dword [esp + 0x38], eax
mov edi, ebx
mov esi, edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa8]
movzx eax, byte [esp + 0xb0]
test al, al
je 0x4e736c
movzx ebx, byte [esp + 0x2f]
cmp bl, 0x2e
je 0x4e7261
mov dword [esp + 0x5c], esi
lea esi, [ebx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
ja 0x4e7219
xchg esi, eax
movzx ebx, al
xchg esi, eax
cmp ebx, edx
jae 0x4e71cd
mov byte [esp + 0xb0], al
mov esi, dword [esp + 0x3c]
imul esi, edx
add ebx, esi
mov esi, dword [esp + 0x34]
inc esi
cmp ecx, esi
je 0x4e7166
mov edi, dword [esp + 0xa0]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
inc eax
movzx ecx, byte [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test edx, edx
je 0x4e6df3
mov ecx, dword [0x7c9618]
cmp ecx, edx
je 0x4e6f13
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
add esp, 0x94
ret
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x7c], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [0x7c961c]
mov dword [esp + 8], eax
call fcn.00402e20
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e7155
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x4e706d
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x4e7067
mov edx, dword [esp + 0x54]
cmp edx, 8
jne 0x4e6ffb
mov eax, 0xa
mov ecx, 1
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], edx
add esp, 0x94
ret
test ecx, ecx
je 0x4e704c
lea eax, [0x5ea220]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1c
mov eax, dword [0x7db370]
test eax, eax
jne 0x4e703f
lea eax, [0x62454d]
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, edi
lea ebx, [0x65f350]
jmp 0x4e6fb7
lea eax, [0x62454d]
call fcn.0044b680
jmp 0x4e702a
cmp edx, 8
jne 0x4e6fff
mov eax, edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x5c]
jmp 0x4e6fb7
mov edx, dword [esp + 0x54]
jmp 0x4e6ffd
mov dword [esp + 0x38], edi
test ecx, ecx
jg 0x4e70ec
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004e00e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
test ebx, ebx
jl 0x4e70e6
mov ebp, dword [esp + 0x58]
sub ebx, ebp
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xcc], eax
add esp, 0x94
ret
mov ebx, dword [esp + 0x58]
jmp 0x4e709f
mov dword [esp + 0x78], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004e6c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.004e0820
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x4e7075
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x7c]
jmp 0x4e6ecb
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.004e0820
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0xa4]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], ecx
jmp 0x4e6e89
mov dword [esp + 0x7c], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
jmp 0x4e6f7e
lea esi, [ebx - 0x61]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4e7230
lea esi, [ebx - 0x57]
xchg esi, eax
movzx ebx, al
xchg esi, eax
jmp 0x4e6e5d
lea esi, [ebx - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4e7257
cmp edx, 0x24
jg 0x4e724a
add ebx, 0xffffffc9
movzx ebx, bl
jmp 0x4e6e5d
lea esi, [ebx - 0x1d]
xchg esi, eax
movzx ebx, al
xchg esi, eax
jmp 0x4e6e5d
mov ebx, 0x3f
jmp 0x4e6e5d
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 4]
test ecx, ecx
jne 0x4e72a5
mov ebp, dword [esp + 0xa4]
mov ebx, edx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x58], esi
mov edi, eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
xor eax, eax
jmp 0x4e6e46
mov edx, dword [0x7c9618]
cmp edx, ecx
je 0x4e72fb
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x94
ret
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x7c961c]
mov dword [esp + 8], edx
call fcn.00402e20
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e735f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, eax
xor eax, eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov eax, edi
mov ecx, dword [esp + 0x34]
jmp 0x4e6f7e
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
jmp 0x4e72af
xor eax, eax
movzx ebx, byte [esp + 0x2f]
jmp 0x4e6e46
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
je 0x4e748d
mov eax, dword [0x7c9618]
cmp eax, edx
je 0x4e73f9
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0x94
ret
mov dword [esp + 0x80], ecx
mov dword [esp + 0x5c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [0x7c961c]
mov dword [esp + 8], eax
call fcn.00402e20
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4e7433
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
jmp 0x4e73ad
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0x94
ret
movzx ebx, byte [esp + 0xb0]
test bl, bl
je 0x4e758c
mov ebp, 0xa
cmp al, 0x58
ja 0x4e7579
cmp al, 0x42
jne 0x4e7566
mov ebp, 2
mov dword [esp + 0x58], ebp
cmp ebp, 2
jne 0x4e754d
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x4e7501
xor ebx, ebx
mov ebp, dword [esp + 0x58]
mov esi, ebx
mov ebx, dword [esp + 0xac]
jmp 0x4e6d59
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0x94
ret
cmp ebp, 8
jne 0x4e7556
xor ebx, ebx
jmp 0x4e74ef
cmp ebp, 0x10
je 0x4e74c6
mov ebx, 1
jmp 0x4e74ef
cmp al, 0x58
jne 0x4e74b9
mov ebp, 0x10
jmp 0x4e74b9
cmp al, 0x62
je 0x4e74b4
cmp al, 0x78
je 0x4e756f
jmp 0x4e74b9
mov ebp, 8
jmp 0x4e74a2
mov ebp, ebx
xor esi, esi
jmp 0x4e6d59
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0x94
ret
movzx ecx, byte [esp + 0xb0]
test cl, cl
je 0x4e7631
xor edx, edx
test dl, dl
jne 0x4e6d0f
test cl, cl
je 0x4e762d
cmp eax, 2
jne 0x4e7619
mov edx, 1
test dl, dl
jne 0x4e6d0f
jmp 0x4e7642
cmp eax, 0xa
jne 0x4e7625
mov edx, 1
jmp 0x4e760f
cmp eax, 0x10
sete dl
jmp 0x4e760f
xor edx, edx
jmp 0x4e760f
cmp eax, 2
jl 0x4e763e
cmp eax, 0x3e
setle dl
jmp 0x4e75f9
xor edx, edx
jmp 0x4e75f9
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x5df520]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004071c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x621afb]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498d40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00426780
ud2
call fcn.00449f20
jmp fcn.004e6ce0