Function at 0x4e6960
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 0x4e7376
sub esp, 0x94
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4e726b
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 0x4e721f
mov ebx, dword [esp + 0xac]
test ebx, ebx
jne 0x4e7216
cmp al, 0x30
je 0x4e6ff8
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.004e68c0
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 0x4e6aa8
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 0x4e6fec
movzx ebx, byte [esp + 0x2f]
cmp bl, 0x2e
je 0x4e6ee1
mov dword [esp + 0x5c], esi
lea esi, [ebx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
ja 0x4e6e99
xchg esi, eax
movzx ebx, al
xchg esi, eax
cmp ebx, edx
jae 0x4e6e4d
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 0x4e6de6
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 0x4e6a73
mov ecx, dword [0xac91e0]
cmp ecx, edx
je 0x4e6b93
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 [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e6dd5
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 0x4e6ced
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x4e6ce7
mov edx, dword [esp + 0x54]
cmp edx, 8
jne 0x4e6c7b
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 0x4e6ccc
lea eax, [0x785320]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1c
mov eax, dword [0xadb480]
test eax, eax
jne 0x4e6cbf
lea eax, [0x7dff4e]
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, edi
lea ebx, [0x843830]
jmp 0x4e6c37
lea eax, [0x7dff4e]
call fcn.0044c870
jmp 0x4e6caa
cmp edx, 8
jne 0x4e6c7f
mov eax, edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x5c]
jmp 0x4e6c37
mov edx, dword [esp + 0x54]
jmp 0x4e6c7d
mov dword [esp + 0x38], edi
test ecx, ecx
jg 0x4e6d6c
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004de850
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
test ebx, ebx
jl 0x4e6d66
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 0x4e6d1f
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.004e6910
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.004defa0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x4e6cf5
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x7c]
jmp 0x4e6b4b
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.004defa0
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 0x4e6b09
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 0x4e6bfe
lea esi, [ebx - 0x61]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4e6eb0
lea esi, [ebx - 0x57]
xchg esi, eax
movzx ebx, al
xchg esi, eax
jmp 0x4e6add
lea esi, [ebx - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4e6ed7
cmp edx, 0x24
jg 0x4e6eca
add ebx, 0xffffffc9
movzx ebx, bl
jmp 0x4e6add
lea esi, [ebx - 0x1d]
xchg esi, eax
movzx ebx, al
xchg esi, eax
jmp 0x4e6add
mov ebx, 0x3f
jmp 0x4e6add
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 0x4e6f25
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 0x4e6ac6
mov edx, dword [0xac91e0]
cmp edx, ecx
je 0x4e6f7b
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 [0xac91e4]
mov dword [esp + 8], edx
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e6fdf
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 0x4e6bfe
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
jmp 0x4e6f2f
xor eax, eax
movzx ebx, byte [esp + 0x2f]
jmp 0x4e6ac6
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 0x4e710d
mov eax, dword [0xac91e0]
cmp eax, edx
je 0x4e7079
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 [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4e70b3
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
jmp 0x4e702d
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 0x4e720c
mov ebp, 0xa
cmp al, 0x58
ja 0x4e71f9
cmp al, 0x42
jne 0x4e71e6
mov ebp, 2
mov dword [esp + 0x58], ebp
cmp ebp, 2
jne 0x4e71cd
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 0x4e7181
xor ebx, ebx
mov ebp, dword [esp + 0x58]
mov esi, ebx
mov ebx, dword [esp + 0xac]
jmp 0x4e69d9
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 0x4e71d6
xor ebx, ebx
jmp 0x4e716f
cmp ebp, 0x10
je 0x4e7146
mov ebx, 1
jmp 0x4e716f
cmp al, 0x58
jne 0x4e7139
mov ebp, 0x10
jmp 0x4e7139
cmp al, 0x62
je 0x4e7134
cmp al, 0x78
je 0x4e71ef
jmp 0x4e7139
mov ebp, 8
jmp 0x4e7122
mov ebp, ebx
xor esi, esi
jmp 0x4e69d9
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 0x4e72b1
xor edx, edx
test dl, dl
jne 0x4e698f
test cl, cl
je 0x4e72ad
cmp eax, 2
jne 0x4e7299
mov edx, 1
test dl, dl
jne 0x4e698f
jmp 0x4e72c2
cmp eax, 0xa
jne 0x4e72a5
mov edx, 1
jmp 0x4e728f
cmp eax, 0x10
sete dl
jmp 0x4e728f
xor edx, edx
jmp 0x4e728f
cmp eax, 2
jl 0x4e72be
cmp eax, 0x3e
setle dl
jmp 0x4e7279
xor edx, edx
jmp 0x4e7279
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x770de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407440
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x7dc7b0]
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.004bb700
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x7716e0]
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427310
ud2
call fcn.0044b110
jmp fcn.004e6960