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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x491d28
sub esp, 0x84
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046a88b
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x90]
cmp ecx, 0x13
jl 0x49168a
mov edx, dword [esp + 0x8c]
xor ebx, ebx
xor ebp, ebp
jmp 0x4916b3
lea edi, [esp + 0x98]
call fcn.0046a88b
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 0x4916cf
movzx esi, byte [edx + ebx]
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x4916a5
mov byte [esp + 0x37], 0
xor ebp, ebp
jmp 0x4916de
cmp ebp, 0x270f
jbe 0x4916de
mov byte [esp + 0x37], 0
xor ebp, ebp
xor ebx, ebx
xor esi, esi
jmp 0x4916f3
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 0x491711
movzx edi, byte [edx + ebx + 5]
lea eax, [edi - 0x30]
cmp al, 9
jbe 0x4916e4
mov byte [esp + 0x37], 0
mov esi, 1
jmp 0x491723
lea ebx, [esi - 1]
cmp ebx, 0xb
jbe 0x491723
mov byte [esp + 0x37], 0
mov esi, 1
cmp esi, 2
jne 0x491768
test ebp, 3
jne 0x491762
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 0x49175b
sar eax, 7
sub eax, ebp
imul edx, eax, 0x190
cmp ebx, edx
jne 0x49176c
mov ebp, 0x1d
jmp 0x49178e
mov ebx, ebp
mov edi, edx
jmp 0x49176c
mov ebx, ebp
mov edi, edx
cmp esi, 0xd
jae 0x491d1b
lea eax, [esi - 1]
lea edx, [0x8114c0]
mov ebp, dword [edx + esi*4]
cmp eax, 0xd
jae 0x491d11
sub ebp, dword [edx + esi*4 - 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], esi
xor eax, eax
xor edx, edx
jmp 0x4917b1
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 + 0x5c]
mov esi, dword [esp + 0x4c]
cmp eax, 2
jge 0x4917d7
movzx esi, byte [edi + eax + 8]
lea ebx, [esi - 0x30]
cmp bl, 9
jbe 0x49179c
mov byte [esp + 0x37], 0
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov edx, 1
jmp 0x4917e9
test edx, edx
jle 0x4917df
cmp edx, ebp
jle 0x4917e9
mov byte [esp + 0x37], 0
mov edx, 1
mov dword [esp + 0x48], edx
xor eax, eax
xor ebp, ebp
jmp 0x491807
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 0x49182c
movzx edx, byte [edi + eax + 0xb]
lea esi, [edx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x4917f3
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x491838
cmp ebp, 0x17
jbe 0x491838
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 0x491865
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 0x491888
movzx ebp, byte [edi + eax + 0xe]
lea edx, [ebp - 0x30]
cmp dl, 9
jbe 0x491848
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x49189a
mov eax, ebp
mov ebp, dword [esp + 0x40]
cmp ebp, 0x3b
jbe 0x49189a
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
jmp 0x4918d7
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 + 0x58], ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
cmp ebp, 2
jge 0x4918fe
movzx eax, byte [edi + ebp + 0x11]
lea edx, [eax - 0x30]
cmp dl, 9
jbe 0x4918b4
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x49190e
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x3b
jbe 0x49190e
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 0x491991
cmp byte [edi + 4], 0x2d
jne 0x491991
cmp byte [edi + 7], 0x2d
jne 0x491991
cmp byte [edi + 0xa], 0x54
jne 0x491991
cmp byte [edi + 0xd], 0x3a
jne 0x491991
cmp byte [edi + 0x10], 0x3a
jne 0x491991
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 0x49198d
cmp byte [ecx], 0x2e
jne 0x491989
mov edx, dword [esp + 0x88]
test byte [edx], al
movzx ebp, byte [edi + ebp + 1]
add ebp, 0xffffffd0
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x491981
mov ebp, 2
jmp 0x491c96
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x4919ae
xor ebp, ebp
jmp 0x4919ae
xor ebp, ebp
jmp 0x4919ae
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046a88b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ecx
mov edi, dword [0x81c988]
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.0048bcf0
lea edi, [esp + 0x70]
lea esi, [esp + 0x20]
call fcn.0046ad6e
mov eax, dword [esp + 0x5c]
cmp eax, 1
je 0x491a08
mov ecx, dword [esp + 0x6c]
jmp 0x491a11
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x5a
je 0x491a39
cmp eax, 6
jne 0x491a1c
xor eax, eax
xor edx, edx
jmp 0x491a63
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046a88b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea edi, [esp + 0x98]
lea esi, [esp + 0x70]
call fcn.0046ad6e
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 0x491a80
movzx ebx, byte [eax + ecx + 1]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x491a58
mov byte [esp + 0x37], 0
xor edx, edx
jmp 0x491a8c
cmp edx, 0x17
jbe 0x491a8c
mov byte [esp + 0x37], 0
xor edx, edx
xor eax, eax
xor ebx, ebx
jmp 0x491a9f
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 0x491abc
movzx ebp, byte [ecx + eax + 4]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x491a92
mov byte [esp + 0x37], 0
xor ebx, ebx
jmp 0x491ac8
cmp ebx, 0x3b
jbe 0x491ac8
mov byte [esp + 0x37], 0
xor ebx, ebx
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491c78
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x491aec
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x491c78
cmp byte [ecx + 3], 0x3a
jne 0x491c78
imul eax, edx, 0x3c
add eax, ebx
imul eax, eax, 0x3c
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x491b07
neg eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x70]
mov dword [esp], ecx
mov ecx, eax
sar eax, 0x1f
xor edx, edx
sub edx, ecx
mov ebx, 0
sbb ebx, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.00489340
mov eax, dword [esp + 0x74]
test eax, 0x80000000
je 0x491b60
mov ecx, dword [esp + 0x70]
mov edx, ecx
shl ecx, 1
shl eax, 1
shr edx, 0x1f
or edx, eax
mov eax, edx
shl edx, 1
shr ecx, 0x1f
or ecx, edx
shr eax, 0x1f
add ecx, 0xd7b17f80
adc eax, 0xd
jmp 0x491b68
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
mov dword [esp], edx
add ecx, 0x886e0900
adc eax, 0xfffffff1
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0048cc50
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jne 0x491bfb
nop
mov eax, dword [esp + 0x94]
lea ecx, [0x81fac0]
cmp eax, ecx
jne 0x491ba6
xor eax, eax
mov ecx, dword [esp + 0x74]
nop
test ecx, 0x80000000
je 0x491bef
mov edx, dword [esp + 0x70]
mov ebx, edx
shl edx, 1
shl ecx, 1
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
mov dword [esp + 0x78], edx
adc ebx, 0xd
mov dword [esp + 0x7c], ebx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x491a39
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0048ca40
mov eax, dword [esp + 0xc]
lea ecx, [0x81fac0]
cmp eax, ecx
jne 0x491c23
xor eax, eax
mov ecx, dword [esp + 0x74]
nop
test ecx, 0x80000000
je 0x491c6c
mov edx, dword [esp + 0x70]
mov ebx, edx
shl edx, 1
shl ecx, 1
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr ebx, 0x1f
add edx, 0xd7b17f80
mov dword [esp + 0x78], edx
adc ebx, 0xd
mov dword [esp + 0x7c], ebx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x491a39
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0046a88b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebp
cmp ebp, eax
jge 0x491ca9
movzx edi, byte [ebp + ecx]
add edi, 0xffffffd0
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x491c95
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], ebp
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.00491300
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x491d0c
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 + 0x68]
add edi, eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov eax, ecx
mov ecx, edi
jmp 0x4919ae
call fcn.0046a6d0
mov ecx, 0xd
call fcn.0046a670
mov eax, esi
mov ecx, 0xd
call fcn.0046a670
nop
call fcn.00469200
jmp fcn.00491640