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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4971b1
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x50], eax
nop
cmp eax, 0x11
je 0x496e46
cmp eax, 0x17
jne 0x497176
cmp eax, 0x11
jne 0x496e69
nop
test ecx, 0x60
jne 0x496e59
test ecx, 0x100
jne 0x496e69
mov dword [esp], ecx
call fcn.00492970
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
nop
test ecx, ecx
je 0x496e76
test ecx, 0x60
je 0x496e86
mov dword [esp], ecx
call fcn.00492860
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x4c], edx
nop
cmp edx, 0x11
je 0x496f0b
cmp edx, 0x17
je 0x496f0b
cmp edx, 0x18
jne 0x496efa
mov ebp, dword [esp + 0x60]
movzx esi, byte [ebp + 0xf]
and esi, 0x1f
cmp esi, 0x12
ja 0x496ec7
cmp esi, 0x11
jne 0x496ebd
mov esi, dword [ebp + 0x20]
jmp 0x496ee7
cmp esi, 0x12
jne 0x496ee5
mov esi, dword [ebp + 0x20]
jmp 0x496ee7
cmp esi, 0x15
jne 0x496ed1
mov esi, dword [ebp + 0x24]
jmp 0x496ee7
cmp esi, 0x16
jne 0x496edb
mov esi, dword [ebp + 0x20]
jmp 0x496ee7
cmp esi, 0x17
jne 0x496ee5
mov esi, dword [ebp + 0x20]
jmp 0x496ee7
xor esi, esi
movzx esi, byte [esi + 0xf]
and esi, 0x1f
cmp esi, 8
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x496f00
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x496f11
jmp 0x49713c
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
nop
test ebx, ebx
je 0x496f24
test ebx, 0x60
je 0x496f45
mov dword [esp], ebx
call fcn.00492860
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
movzx esi, byte [esp + 0x23]
movzx edi, byte [ebp + 0xf]
and edi, 0x1f
cmp edi, 0x12
ja 0x496f65
cmp edi, 0x11
jne 0x496f5b
mov edi, dword [ebp + 0x20]
jmp 0x496f85
cmp edi, 0x12
jne 0x496f83
mov edi, dword [ebp + 0x20]
jmp 0x496f85
cmp edi, 0x15
jne 0x496f6f
mov edi, dword [ebp + 0x24]
jmp 0x496f85
cmp edi, 0x16
jne 0x496f79
mov edi, dword [ebp + 0x20]
jmp 0x496f85
cmp edi, 0x17
jne 0x496f83
mov edi, dword [ebp + 0x20]
jmp 0x496f85
xor edi, edi
mov dword [esp + 0x54], edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x496f97
cmp eax, 0x11
jmp 0x497068
mov esi, dword [esp + 0x6c]
movzx ebx, byte [esi + 0xf]
and ebx, 0x1f
cmp ebx, 0x12
ja 0x496fbb
cmp ebx, 0x11
jne 0x496fb1
mov ebx, dword [esi + 0x20]
jmp 0x496fdb
cmp ebx, 0x12
jne 0x496fd9
mov ebx, dword [esi + 0x20]
jmp 0x496fdb
cmp ebx, 0x15
jne 0x496fc5
mov ebx, dword [esi + 0x24]
jmp 0x496fdb
cmp ebx, 0x16
jne 0x496fcf
mov ebx, dword [esi + 0x20]
jmp 0x496fdb
cmp ebx, 0x17
jne 0x496fd9
mov ebx, dword [esi + 0x20]
jmp 0x496fdb
xor ebx, ebx
test edi, edi
je 0x496ff3
mov dword [esp + 0x3c], eax
lea eax, [0x6bb0a4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x497003
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x44]
test ebx, ebx
je 0x497017
mov dword [esp + 0x34], eax
lea eax, [0x6bb0a4]
mov dword [esp + 0x24], eax
jmp 0x49701f
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
lea eax, [0x6623ce]
mov dword [esp], eax
mov dword [esp + 4], 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00496b00
mov eax, dword [esp + 0x50]
cmp eax, 0x11
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
je 0x49707b
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 0x11
jmp 0x4970ab
nop
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00494fa0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
cmp eax, 0x11
mov edx, eax
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x54]
mov eax, ebp
mov ecx, dword [esp + 0x64]
je 0x4970d1
cmp edx, 0x17
jne 0x4970c0
mov edx, dword [esp + 0x70]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
jmp 0x497110
mov edx, eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, edx
mov edx, esi
jmp 0x497110
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ecx
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00494fa0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
mov edx, esi
mov ebx, dword [esp + 0x70]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
call fcn.00467020
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
lea eax, [0x63fd20]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6623ce]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x636c00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00439050
lea eax, [0x63fd20]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6623ce]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
lea ecx, [0x636c00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00439050
nop
call fcn.0046a530
jmp fcn.00496e10