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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x491bad
sub esp, 0xec
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
jne 0x49139b
movsd xmm0, qword [esp + 0xfc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x972c40]
jmp 0x4913ca
cmp edx, 0x40
jne 0x491b94
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp + 0x8c], xmm0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
lea eax, [0x972c50]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
mov esi, dword [eax]
lea edi, [esi + ecx - 0x20]
mov ecx, edi
shr ebp, cl
mov dword [esp + 0x84], ebp
neg ecx
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x54]
shl edx, cl
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x88]
lea eax, [edx + esi]
mov ecx, eax
mov ebp, dword [esp + 0x54]
shr ebp, cl
mov dword [esp + 0x78], ebp
shr ebx, cl
mov ecx, esi
mov ebp, dword [esp + 0x50]
shr ebp, cl
mov dword [esp + 0x74], ebp
mov ecx, edx
mov ebp, 1
shl ebp, cl
mov dword [esp + 0x70], ebp
mov ecx, esi
mov ebp, 1
shl ebp, cl
mov dword [esp + 0x6c], ebp
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov edx, dword [esp + 0x54]
shr edx, cl
mov dword [esp + 0x68], edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x64], edx
neg ecx
mov edx, dword [esp + 0x54]
shl edx, cl
mov dword [esp + 0x60], edx
mov edx, 1
shr edx, cl
mov dword [esp + 0x5c], edx
cmp edi, 0x20
sbb edi, edi
mov edx, dword [esp + 0x84]
and edx, edi
mov dword [esp + 0x84], edx
cmp eax, 0x20
sbb eax, eax
and ebx, eax
mov edi, ebp
mov ebp, dword [esp + 0x80]
cmp ebp, 0x20
sbb ebp, ebp
mov edx, dword [esp + 0x7c]
and edx, ebp
or ebx, edx
mov edx, dword [esp + 0x84]
or edx, ebx
mov ebx, dword [esp + 0x78]
test eax, ebx
setne bl
test edx, edx
setne dl
or edx, ebx
cmp edi, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x68]
and ebp, ebx
mov eax, edx
mov edx, dword [esp + 0x64]
and edx, ebx
mov ebx, dword [esp + 0x88]
cmp ebx, 0x20
sbb ebx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x70]
and ebx, ebp
dec ebx
cmp ecx, 0x20
sbb ebp, ebp
mov ecx, ebx
mov ebx, dword [esp + 0x60]
and ebx, ebp
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x5c]
and ebx, ebp
or edx, ebx
cmp esi, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x74]
and ebp, ebx
mov esi, edx
mov edx, dword [esp + 0x84]
or ebp, edx
or edi, ebp
and edi, ecx
mov edx, dword [esp + 0x6c]
and edx, ebx
mov dword [esp + 0x84], edx
add edx, 0xffffffff
mov ebp, esi
adc esi, 0xffffffff
mov ebx, dword [esp + 0x50]
and edx, ebx
mov ebx, dword [esp + 0x54]
and esi, ebx
cmp edi, ecx
jne 0x49163d
test esi, esi
setne cl
test edx, edx
setne dl
or ecx, edx
test cl, cl
je 0x491565
mov eax, 3
lea ecx, [0x732031]
jmp 0x491581
test al, al
je 0x491576
mov eax, 4
lea ecx, [0x732239]
jmp 0x491581
mov eax, 4
lea ecx, [0x732235]
mov edx, dword [esp + 0xf4]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xf8]
cmp ebp, ebx
jb 0x49159f
mov esi, dword [esp + 0xf0]
jmp 0x4915f1
mov dword [esp + 0x3c], eax
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x6e4500]
mov dword [esp + 0x10], ecx
call fcn.0044e230
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xf4]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xd4], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00468df0
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x118], eax
add esp, 0xec
ret
test edi, edi
jne 0x491648
mov edi, 1
jmp 0x491653
or esi, ebp
mov ecx, dword [esp + 0x84]
or edx, ecx
mov ecx, dword [esp + 0xd0]
add edi, dword [ecx + 8]
movzx ebx, byte [esp + 0x104]
cmp bl, 0x62
je 0x491b33
cmp bl, 0x78
je 0x491678
cmp bl, 0x58
jne 0x4916e8
mov ebp, dword [esp + 0xf0]
mov dword [esp], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x108]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
call fcn.00492f80
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
movzx ebp, byte [0x972541]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491ac3
mov byte [esp + 0x3b], al
mov ebp, edi
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.004686fb
mov ecx, dword [esp + 0x108]
test ecx, ecx
jl 0x49193b
cmp bl, 0x66
je 0x4918b5
mov dword [esp + 0x70], ebp
cmp bl, 0x47
ja 0x49174a
cmp bl, 0x45
je 0x49174f
cmp bl, 0x47
jne 0x49173c
test ecx, ecx
jmp 0x49176f
mov edi, ebp
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
jmp 0x4917a4
cmp bl, 0x65
jne 0x491768
lea edi, [ecx + 1]
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, edi
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x70]
jmp 0x4917ad
cmp bl, 0x67
jne 0x491798
test ecx, ecx
jne 0x491784
mov edi, ebp
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
jmp 0x491792
mov edi, ebp
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, ecx
mov dword [esp + 0x58], ebp
jmp 0x4917ad
mov edi, ebp
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
lea edi, [esp + 0x94]
call fcn.004686fa
jne 0x49182d
cmp ebp, 9
jg 0x49182d
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea ebx, [esp + 0xd8]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
sub ebx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00493850
mov edx, dword [esp + 0x40]
movzx ebx, byte [esp + 0x104]
mov esi, dword [esp + 0x44]
mov eax, 1
jmp 0x4918a2
cmp ebp, 0x12
jg 0x49189f
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea ebx, [esp + 0xd8]
mov dword [esp], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
sub ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00493bb0
mov eax, dword [esp + 0x4c]
cmp eax, 0x12
mov edx, dword [esp + 0x40]
movzx ebx, byte [esp + 0x104]
mov esi, dword [esp + 0x44]
setle al
mov ebp, dword [esp + 0x70]
mov edi, eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x108]
jmp 0x4918b9
mov eax, ecx
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x4918c6
test eax, eax
jmp 0x491a46
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], bl
movzx eax, byte [esp + 0x3b]
mov byte [esp + 0x11], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x20], eax
call fcn.00491bc0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea edi, [esp + 0xac]
call fcn.004686f8
lea ecx, [esp + 0xac]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0xe0], 0x20
mov ecx, dword [esp + 0xd0]
mov ebx, dword [ecx]
mov eax, ecx
lea ecx, [esp + 0xd8]
mov dword [esp], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
sub ebp, ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.004946a0
movzx ecx, byte [esp + 0x104]
cmp cl, 0x47
ja 0x4919c4
cmp cl, 0x45
je 0x4919c9
cmp cl, 0x47
jne 0x4919b9
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x491a30
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x491a42
cmp cl, 0x65
jne 0x4919f0
mov eax, dword [esp + 0xe4]
dec eax
test eax, eax
jle 0x4919e0
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x491a42
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x491a42
cmp cl, 0x66
jne 0x491a22
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xe8]
test eax, eax
jle 0x491a12
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x491a42
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x491a42
cmp cl, 0x67
jne 0x491a39
mov eax, dword [esp + 0x108]
test eax, eax
mov eax, dword [esp + 0xe4]
jmp 0x491a42
mov eax, dword [esp + 0x108]
test eax, eax
mov ebx, ecx
mov ecx, eax
mov dword [esp + 0x70], ecx
setl al
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
movzx eax, byte [esp + 0x3b]
mov byte [esp + 0xd], al
lea edi, [esp + 0x10]
lea esi, [esp + 0xd8]
call fcn.00468bde
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], bl
call fcn.00491f00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ebp, dword [esp + 0xf0]
mov dword [esp], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x108]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
call fcn.00491bc0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
call fcn.00492de0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea eax, [0x6e41c0]
mov dword [esp], eax
lea eax, [0x7aa788]
mov dword [esp + 4], eax
call fcn.004386b0
nop
call fcn.00467050
jmp fcn.00491350