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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x497515
sub esp, 0x84
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046ca7b
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x90]
cmp ecx, 0x13
jl 0x496e7a
mov edx, dword [esp + 0x8c]
xor ebx, ebx
xor ebp, ebp
jmp 0x496ea3
lea edi, [esp + 0x98]
call fcn.0046ca7b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea ebp, [ebp + ebp*4]
xchg esi, eax
movzx eax, al
xchg esi, eax
inc ebx
lea ebp, [esi + ebp*2 - 0x30]
cmp ebx, 4
jge 0x496ebf
movzx esi, byte [edx + ebx]
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x496e95
mov byte [esp + 0x37], 0
xor ebp, ebp
jmp 0x496ece
cmp ebp, 0x270f
jbe 0x496ece
mov byte [esp + 0x37], 0
xor ebp, ebp
xor ebx, ebx
xor esi, esi
jmp 0x496ee3
lea eax, [esi + esi*4]
xchg edi, eax
movzx esi, al
xchg edi, eax
inc ebx
lea esi, [esi + eax*2 - 0x30]
xor eax, eax
cmp ebx, 2
jge 0x496f01
movzx edi, byte [edx + ebx + 5]
lea eax, [edi - 0x30]
cmp al, 9
jbe 0x496ed4
mov byte [esp + 0x37], 0
mov esi, 1
jmp 0x496f13
lea ebx, [esi - 1]
cmp ebx, 0xb
jbe 0x496f13
mov byte [esp + 0x37], 0
mov esi, 1
cmp esi, 2
jne 0x496f58
test ebp, 3
jne 0x496f52
mov ebx, ebp
sar ebp, 0x1f
mov eax, 0x51eb851f
mov edi, edx
imul ebx
mov eax, edx
sar edx, 5
sub edx, ebp
imul edx, edx, 0x64
cmp ebx, edx
jne 0x496f4b
sar eax, 7
sub eax, ebp
imul edx, eax, 0x190
cmp ebx, edx
jne 0x496f5c
mov ebp, 0x1d
jmp 0x496f7e
mov ebx, ebp
mov edi, edx
jmp 0x496f5c
mov ebx, ebp
mov edi, edx
cmp esi, 0xd
jae 0x497508
lea eax, [esi - 1]
lea edx, [0xe9de80]
mov ebp, dword [edx + esi*4]
cmp eax, 0xd
jae 0x4974fe
sub ebp, dword [edx + esi*4 - 4]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], esi
xor eax, eax
xor edx, edx
jmp 0x496fa1
lea edx, [edx + edx*4]
xchg esi, eax
movzx ebx, al
xchg esi, eax
inc eax
lea edx, [ebx + edx*2 - 0x30]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
cmp eax, 2
jge 0x496fc7
movzx esi, byte [edi + eax + 8]
lea ebx, [esi - 0x30]
cmp bl, 9
jbe 0x496f8c
mov byte [esp + 0x37], 0
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov edx, 1
jmp 0x496fd9
test edx, edx
jle 0x496fcf
cmp edx, ebp
jle 0x496fd9
mov byte [esp + 0x37], 0
mov edx, 1
mov dword [esp + 0x48], edx
xor eax, eax
xor ebp, ebp
jmp 0x496ff7
lea ebp, [ebp + ebp*4]
movzx edx, dl
inc eax
lea ebp, [edx + ebp*2 - 0x30]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
cmp eax, 2
jge 0x49701c
movzx edx, byte [edi + eax + 0xb]
lea esi, [edx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x496fe3
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x497028
cmp ebp, 0x17
jbe 0x497028
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x44], ebp
xor eax, eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
jmp 0x497055
mov edx, dword [esp + 0x40]
lea edx, [edx + edx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
inc eax
lea edx, [ebp + edx*2 - 0x30]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
cmp eax, 2
jge 0x497078
movzx ebp, byte [edi + eax + 0xe]
lea edx, [ebp - 0x30]
cmp dl, 9
jbe 0x497038
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x49708a
mov eax, ebp
mov ebp, dword [esp + 0x40]
cmp ebp, 0x3b
jbe 0x49708a
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
jmp 0x4970c7
mov edx, dword [esp + 0x3c]
lea edx, [edx + edx*4]
movzx eax, al
inc ebp
lea eax, [eax + edx*2 - 0x30]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
cmp ebp, 2
jge 0x4970ee
movzx eax, byte [edi + ebp + 0x11]
lea edx, [eax - 0x30]
cmp dl, 9
jbe 0x4970a4
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x4970fe
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x3b
jbe 0x4970fe
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x3c], ebp
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497174
cmp byte [edi + 4], 0x2d
jne 0x497174
cmp byte [edi + 7], 0x2d
jne 0x497174
cmp byte [edi + 0xa], 0x54
jne 0x497174
cmp byte [edi + 0xd], 0x3a
jne 0x497174
cmp byte [edi + 0x10], 0x3a
jne 0x497174
lea ebp, [ecx - 0x13]
mov dword [esp + 0x50], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x13
lea ecx, [edi + ebp]
mov eax, dword [esp + 0x50]
cmp eax, 2
jl 0x497170
cmp byte [ecx], 0x2e
jne 0x49716c
movzx ebp, byte [edi + ebp + 1]
add ebp, 0xffffffd0
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x497168
mov ebp, 2
jmp 0x49747c
xor ebp, ebp
jmp 0x497191
xor ebp, ebp
jmp 0x497191
xor ebp, ebp
jmp 0x497191
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046ca7b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
mov dword [esp + 0x80], ecx
mov dword [esp + 0x64], eax
mov edi, dword [0xed0b6c]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
call fcn.0048f860
lea edi, [esp + 0x68]
lea esi, [esp + 0x20]
call fcn.0046cf5e
mov eax, dword [esp + 0x64]
cmp eax, 1
je 0x4971f1
mov ecx, dword [esp + 0x80]
jmp 0x4971fd
mov ecx, dword [esp + 0x80]
cmp byte [ecx], 0x5a
je 0x497225
cmp eax, 6
jne 0x497208
xor eax, eax
xor edx, edx
jmp 0x49724f
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046ca7b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea edi, [esp + 0x98]
lea esi, [esp + 0x68]
call fcn.0046cf5e
mov byte [esp + 0xac], 1
add esp, 0x84
ret
lea ebp, [edx + edx*4]
movzx ebx, bl
inc eax
lea edx, [ebx + ebp*2 - 0x30]
cmp eax, 2
jge 0x49726c
movzx ebx, byte [eax + ecx + 1]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x497244
mov byte [esp + 0x37], 0
xor edx, edx
jmp 0x497278
cmp edx, 0x17
jbe 0x497278
mov byte [esp + 0x37], 0
xor edx, edx
xor eax, eax
xor ebx, ebx
jmp 0x49728b
lea esi, [ebx + ebx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
inc eax
lea ebx, [ebp + esi*2 - 0x30]
cmp eax, 2
jge 0x4972a8
movzx ebp, byte [ecx + eax + 4]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x49727e
mov byte [esp + 0x37], 0
xor ebx, ebx
jmp 0x4972b4
cmp ebx, 0x3b
jbe 0x4972b4
mov byte [esp + 0x37], 0
xor ebx, ebx
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49745e
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x4972d8
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x49745e
cmp byte [ecx + 3], 0x3a
jne 0x49745e
imul eax, edx, 0x3c
add eax, ebx
imul eax, eax, 0x3c
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x4972f3
neg eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
mov ecx, eax
sar eax, 0x1f
xor edx, edx
sub edx, ecx
mov dword [esp + 4], edx
mov edx, 0
sbb edx, eax
mov dword [esp + 8], edx
call fcn.0048d5d0
mov eax, dword [esp + 0x6c]
test eax, 0x80000000
je 0x49734c
mov ecx, dword [esp + 0x68]
shl eax, 1
mov edx, ecx
shl ecx, 1
shr edx, 0x1f
or eax, edx
mov edx, eax
shl eax, 1
shr ecx, 0x1f
or ecx, eax
shr edx, 0x1f
add ecx, 0xd7b17f80
adc edx, 0xd
jmp 0x497354
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x94]
mov dword [esp], eax
add ecx, 0x886e0900
mov dword [esp + 4], ecx
adc edx, 0xfffffff1
mov dword [esp + 8], edx
call fcn.004901e0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jne 0x4973e4
nop
mov eax, dword [esp + 0x94]
lea ecx, [0xedb7a0]
cmp eax, ecx
jne 0x497392
xor eax, eax
mov ecx, dword [esp + 0x6c]
nop
test ecx, 0x80000000
je 0x4973db
mov edx, dword [esp + 0x68]
shl ecx, 1
mov ebx, edx
shl edx, 1
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr edx, 0x1f
or edx, ebx
shr ecx, 0x1f
add edx, 0xd7b17f80
mov dword [esp + 0x70], edx
adc ecx, 0xd
mov dword [esp + 0x74], ecx
and dword [esp + 0x68], 0x3fffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], eax
jmp 0x497225
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0048ffd0
mov eax, dword [esp + 0xc]
lea ecx, [0xedb7a0]
cmp eax, ecx
jne 0x49740c
xor eax, eax
mov ecx, dword [esp + 0x6c]
nop
test ecx, 0x80000000
je 0x497455
mov edx, dword [esp + 0x68]
mov ebx, edx
shl edx, 1
shl ecx, 1
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr ecx, 0x1f
shr edx, 0x1f
or edx, ebx
add edx, 0xd7b17f80
mov dword [esp + 0x70], edx
adc ecx, 0xd
mov dword [esp + 0x74], ecx
and dword [esp + 0x68], 0x3fffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], eax
jmp 0x497225
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046ca7b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebp
cmp ebp, eax
jge 0x49748f
movzx edi, byte [ebp + ecx]
add edi, 0xffffffd0
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x49747b
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.00496b00
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x4974f9
mov edi, dword [esp + 0x90]
sub edi, eax
add edi, 0xffffffed
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and eax, edi
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
add edi, eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov eax, ecx
mov ecx, edi
jmp 0x497191
call fcn.0046c8b0
mov ecx, 0xd
call fcn.0046c850
mov eax, esi
mov ecx, 0xd
call fcn.0046c850
nop
call fcn.0046b3d0
jmp fcn.00496e30