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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x491902
sub esp, 0x84
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004690fb
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x90]
cmp ecx, 0x13
jl 0x49126a
mov edx, dword [esp + 0x8c]
xor ebx, ebx
xor ebp, ebp
jmp 0x491293
lea edi, [esp + 0x98]
call fcn.004690fb
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 0x4912af
movzx esi, byte [edx + ebx]
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x491285
mov byte [esp + 0x37], 0
xor ebp, ebp
jmp 0x4912be
cmp ebp, 0x270f
jbe 0x4912be
mov byte [esp + 0x37], 0
xor ebp, ebp
xor ebx, ebx
xor esi, esi
jmp 0x4912d3
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 0x4912f1
movzx edi, byte [edx + ebx + 5]
lea eax, [edi - 0x30]
cmp al, 9
jbe 0x4912c4
mov byte [esp + 0x37], 0
mov esi, 1
jmp 0x491303
lea ebx, [esi - 1]
cmp ebx, 0xb
jbe 0x491303
mov byte [esp + 0x37], 0
mov esi, 1
cmp esi, 2
jne 0x491348
test ebp, 3
jne 0x491342
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 0x49133b
sar eax, 7
sub eax, ebp
imul edx, eax, 0x190
cmp ebx, edx
jne 0x49134c
mov ebp, 0x1d
jmp 0x49136e
mov ebx, ebp
mov edi, edx
jmp 0x49134c
mov ebx, ebp
mov edi, edx
cmp esi, 0xd
jae 0x4918f5
lea eax, [esi - 1]
lea edx, [0x939b60]
mov ebp, dword [edx + esi*4]
cmp eax, 0xd
jae 0x4918eb
sub ebp, dword [edx + esi*4 - 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], esi
xor eax, eax
xor edx, edx
jmp 0x491391
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 0x4913b7
movzx esi, byte [edi + eax + 8]
lea ebx, [esi - 0x30]
cmp bl, 9
jbe 0x49137c
mov byte [esp + 0x37], 0
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov edx, 1
jmp 0x4913c9
test edx, edx
jle 0x4913bf
cmp edx, ebp
jle 0x4913c9
mov byte [esp + 0x37], 0
mov edx, 1
mov dword [esp + 0x48], edx
xor eax, eax
xor ebp, ebp
jmp 0x4913e7
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 0x49140c
movzx edx, byte [edi + eax + 0xb]
lea esi, [edx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x4913d3
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x491418
cmp ebp, 0x17
jbe 0x491418
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 0x491445
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 0x491468
movzx ebp, byte [edi + eax + 0xe]
lea edx, [ebp - 0x30]
cmp dl, 9
jbe 0x491428
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x49147a
mov eax, ebp
mov ebp, dword [esp + 0x40]
cmp ebp, 0x3b
jbe 0x49147a
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 0x4914b7
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 0x4914de
movzx eax, byte [edi + ebp + 0x11]
lea edx, [eax - 0x30]
cmp dl, 9
jbe 0x491494
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x4914ee
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x3b
jbe 0x4914ee
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 0x491564
cmp byte [edi + 4], 0x2d
jne 0x491564
cmp byte [edi + 7], 0x2d
jne 0x491564
cmp byte [edi + 0xa], 0x54
jne 0x491564
cmp byte [edi + 0xd], 0x3a
jne 0x491564
cmp byte [edi + 0x10], 0x3a
jne 0x491564
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 0x491560
cmp byte [ecx], 0x2e
jne 0x49155c
movzx ebp, byte [edi + ebp + 1]
add ebp, 0xffffffd0
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x491558
mov ebp, 2
jmp 0x491869
xor ebp, ebp
jmp 0x491581
xor ebp, ebp
jmp 0x491581
xor ebp, ebp
jmp 0x491581
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004690fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ecx
mov edi, dword [0x966a00]
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.0048c4e0
lea edi, [esp + 0x70]
lea esi, [esp + 0x20]
call fcn.004695de
mov eax, dword [esp + 0x5c]
cmp eax, 1
je 0x4915db
mov ecx, dword [esp + 0x6c]
jmp 0x4915e4
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x5a
je 0x49160c
cmp eax, 6
jne 0x4915ef
xor eax, eax
xor edx, edx
jmp 0x491636
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004690fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea edi, [esp + 0x98]
lea esi, [esp + 0x70]
call fcn.004695de
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 0x491653
movzx ebx, byte [ecx + eax + 1]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x49162b
mov byte [esp + 0x37], 0
xor edx, edx
jmp 0x49165f
cmp edx, 0x17
jbe 0x49165f
mov byte [esp + 0x37], 0
xor edx, edx
xor eax, eax
xor ebx, ebx
jmp 0x491672
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 0x49168f
movzx ebp, byte [ecx + eax + 4]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x491665
mov byte [esp + 0x37], 0
xor ebx, ebx
jmp 0x49169b
cmp ebx, 0x3b
jbe 0x49169b
mov byte [esp + 0x37], 0
xor ebx, ebx
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49184b
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x4916bf
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x49184b
cmp byte [ecx + 3], 0x3a
jne 0x49184b
imul eax, edx, 0x3c
add eax, ebx
imul eax, eax, 0x3c
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x4916da
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.00489dd0
mov eax, dword [esp + 0x74]
test eax, 0x80000000
je 0x491733
mov ecx, dword [esp + 0x70]
mov edx, ecx
shl ecx, 1
shl eax, 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 0x49173b
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x94]
mov dword [esp], eax
add ecx, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call fcn.0048d4a0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jne 0x4917ce
nop
mov eax, dword [esp + 0x94]
lea ecx, [0x96c260]
cmp eax, ecx
jne 0x491779
xor eax, eax
mov ecx, dword [esp + 0x74]
nop
test ecx, 0x80000000
je 0x4917c2
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 0x49160c
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0048d290
mov eax, dword [esp + 0xc]
lea ecx, [0x96c260]
cmp eax, ecx
jne 0x4917f6
xor eax, eax
mov ecx, dword [esp + 0x74]
nop
test ecx, 0x80000000
je 0x49183f
mov edx, dword [esp + 0x70]
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 + 0x78], edx
adc ecx, 0xd
mov dword [esp + 0x7c], ecx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x49160c
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004690fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebp
cmp ebp, eax
jge 0x49187c
movzx edi, byte [ebp + ecx]
add edi, 0xffffffd0
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x491868
mov dword [esp + 0x68], 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.00490ee0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x4918e6
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 0x491581
call fcn.00468f30
mov ecx, 0xd
call fcn.00468ed0
mov eax, esi
mov ecx, 0xd
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.00491220