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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov dword [esp + 0x30], edx
mov edx, dword [0x10077088]
push esi
push edi
mov esi, ecx
mov eax, dword [edx + 0x176c]
mov dword [esp + 0xd4], esi
mov byte [eax + 0x8a], 1
mov edi, dword [edx + 0x176c]
mov dword [esp + 0x28], edi
cmp byte [edi + 0x8c], 0
jne 0x1003ebcd
mov ecx, dword [ebp + 0x10]
mov eax, edx
mov dword [esp + 0x14], eax
mov edx, ecx
mov eax, ecx
shr edx, 0xe
shr eax, 0x14
not dl
shr ecx, 0xf
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x2c], eax
and ecx, 0xffffff01
mov dword [esp + 0x34], edx
mov dword [esp + 0xac], ecx
test al, al
je 0x1003e966
call fcn.10046400
mov ecx, dword [edi + 0x1c8]
xor edx, edx
mov eax, dword [edi + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10030ee0
mov ecx, dword [0x10077088]
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x178c], eax
jne 0x1003e99b
mov byte [ecx + 0x1798], 1
mov edx, dword [0x10077088]
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1003e9bd
mov al, byte [ecx]
test al, al
je 0x1003e9bd
cmp al, 0x23
jne 0x1003e9b7
cmp byte [ecx + 1], al
je 0x1003e9bd
inc ecx
cmp ecx, 0xffffffff
jb 0x1003e9a8
movss xmm0, dword [edx + 0x171c]
mov eax, dword [esp + 0xd4]
movss xmm1, dword [0x10070f9c]
mov esi, dword [edx + 0x1718]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xd0], xmm1
cmp eax, ecx
jne 0x1003e9fe
xorps xmm4, xmm4
movss dword [esp + 0xc8], xmm4
jmp 0x1003ea61
movss xmm3, dword [0x10070f80]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
lea eax, [esp + 0x60]
mov dword [esp], 0xbf800000
push eax
mov ecx, esi
call fcn.100548f0
movss xmm1, dword [esp + 0x50]
xorps xmm4, xmm4
comiss xmm1, xmm4
jbe 0x1003ea3f
movss xmm0, dword [esp + 0xa0]
divss xmm0, dword [esi]
subss xmm1, xmm0
addss xmm1, dword [0x10070e84]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x54]
cmp byte [esp + 0x2c], 0
je 0x1003ea7d
mov eax, dword [0x10077088]
movss xmm0, dword [eax + 0x171c]
mulss xmm0, dword [0x10070ef4]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
movss xmm1, dword [esi + 0x141c]
push dword [eax + 4]
movaps xmm4, xmm1
push dword [eax]
addss xmm4, xmm1
addss xmm4, xmm0
call fcn.1003a200
movaps xmm2, xmm4
lea ecx, [esp + 0x88]
movaps xmm1, xmm0
call fcn.10032c10
movss xmm0, dword [esp + 0x88]
xorps xmm3, xmm3
movss xmm5, dword [edi + 0xd0]
movaps xmm6, xmm0
movss xmm1, dword [esp + 0x8c]
add esp, 8
addss xmm6, dword [edi + 0xcc]
movss xmm4, dword [edi + 0xcc]
addss xmm1, xmm5
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0xc8]
comiss xmm0, xmm3
movss dword [esp + 0xdc], xmm6
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x7c], xmm1
jbe 0x1003eb3f
movss xmm2, dword [esi + 0x1430]
addss xmm2, xmm0
jmp 0x1003eb42
xorps xmm2, xmm2
cmp byte [esp + 0x2c], 0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0xb0], xmm4
movaps xmm2, xmm1
movss dword [esp + 0xb4], xmm5
addss xmm2, xmm3
mov dword [esp + 0x3c], edi
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xbc], xmm2
je 0x1003ec0e
movaps xmm0, xmm6
subss xmm1, xmm5
subss xmm0, xmm4
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x54], xmm0
call fcn.10036880
add esp, 4
test al, al
jne 0x1003ebd5
call fcn.10036780
mov ecx, 3
call fcn.1003a520
mov ecx, 1
call fcn.1003a450
call fcn.10046510
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10077088]
movss xmm7, dword [esp + 0x80]
mov eax, dword [ecx + 0x176c]
mov byte [eax + 0x8a], 1
mov eax, dword [ecx + 0x176c]
mov dword [esp + 0x3c], eax
subss xmm7, dword [eax + 0x80]
movss dword [esp + 0xa8], xmm7
jmp 0x1003ec47
movss xmm1, dword [esi + 0x141c]
subss xmm0, xmm4
subss xmm2, xmm5
lea ecx, [esp + 0x50]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm2
call fcn.100326f0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
call fcn.10032800
test al, al
je 0x1003ebcd
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x70]
call fcn.100329f0
mov byte [esp + 0xf], al
test al, al
je 0x1003ec66
mov dword [esi + 0x18f8], 1
cmp byte [esp + 0xac], 0
je 0x1003ed0b
mov esi, dword [esi + 0x1718]
cmp dword [esi + 0x28], 0x2a
jle 0x1003ec9c
mov eax, dword [esi + 0x30]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
je 0x1003ec9c
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*8]
jmp 0x1003ec9f
mov eax, dword [esi + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
add edx, 0x273c
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [esi + 0x1718]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x1718]
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, edx
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x1718]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x1718]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x1718]
mov eax, dword [eax + 0x44]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 0x34], eax
mov eax, dword [eax + 4]
mov dword [edx + 0x38], eax
call fcn.1003a290
mov edx, dword [esp + 0x10]
add esi, 0x1a68
test dword [ebp + 0x10], 0x440
mov ecx, edi
mov dword [esp + 0x30], esi
sete al
movzx eax, al
push eax
call fcn.10032b40
add esp, 4
mov byte [esp + 0x18], al
test al, al
je 0x1003ed4b
mov ecx, dword [edi + 0x27c]
cmp ecx, dword [edi + 0x284]
jne 0x1003ed4b
mov cl, 1
jmp 0x1003ed4d
xor cl, cl
mov byte [esp + 0x1b], cl
test al, al
je 0x1003ed5e
mov byte [esp + 0x1a], 1
test cl, cl
je 0x1003ed63
mov byte [esp + 0x1a], 0
cmp byte [esp + 0xf], 0
mov ecx, dword [esp + 0x14]
je 0x1003ed7c
cmp byte [ecx + 0x36c], 0
mov byte [esp + 0x19], 1
jne 0x1003ed81
mov byte [esp + 0x19], 0
cmp byte [esp + 0x2c], 0
je 0x1003edb5
cmp dword [ecx + 0x178c], 0
jne 0x1003edb5
mov eax, dword [esp + 0x10]
cmp dword [esi], eax
jne 0x1003edb5
mov ecx, dword [esp + 0x3c]
sub esp, 8
call fcn.100325e0
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x1790], eax
jne 0x1003edb5
mov al, 1
jmp 0x1003edb7
xor al, al
mov ecx, dword [ecx + 0x178c]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x27], 0
cmp ecx, edx
je 0x1003edd5
test byte [ebp + 0x10], 0x10
mov byte [esp + 0x1c], 1
jne 0x1003edda
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x18], 0
mov dword [esp + 0x6c], 1
jne 0x1003ee0e
cmp byte [esp + 0x19], 0
jne 0x1003ee0e
test al, al
jne 0x1003ee0e
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x36c], al
je 0x1003ef5d
mov byte [esp + 0x27], 1
jmp 0x1003ef5d
cmp ecx, edx
je 0x1003ef47
mov edi, dword [ebp + 8]
lea ecx, [esi + 4]
mov eax, dword [esi + 0x2c]
inc edi
push edi
mov dword [esp + 0x48], eax
call fcn.100480d0
push edi
lea ecx, [esi + 0x10]
call fcn.10048250
mov edi, dword [esi + 0x10]
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], eax
cmp edi, 1
jl 0x1003ee5f
mov ecx, dword [esp + 0x38]
push edi
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov byte [eax + edi - 1], 0
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x20]
mov edx, dword [esi + 4]
push eax
push ecx
mov ecx, dword [esi + 0xc]
push edi
mov dword [esp + 0x2c], 0
call fcn.100311b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
sub ecx, edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xccc], 0xbe99999a
cmp dword [esi], ecx
jne 0x1003eeb1
cmp dword [esp + 0x44], eax
jne 0x1003eeb1
mov ecx, esi
call fcn.1002fa60
mov ecx, dword [esp + 0x2c]
jmp 0x1003ef14
mov dword [esi], ecx
mov ecx, dword [esp + 0x2c]
mov al, cl
mov dword [esi + 0x34], 0
xor al, 1
mov dword [esi + 0xcc2], 0x630000
mov dword [esi + 0xcc6], 0x3e70000
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x44], 0x10000
mov dword [esi + 0x4c], 0
mov byte [esi + 0x48], al
test cl, cl
jne 0x1003ef14
mov eax, dword [esp + 0x1c]
cmp byte [esp + 0x1b], cl
movzx eax, al
cmovne eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
test dword [ebp + 0x10], 0x2000
je 0x1003ef21
mov byte [esi + 0x44], 1
test cl, cl
jne 0x1003ef43
cmp byte [esp + 0x1a], cl
jne 0x1003ef3e
cmp byte [esp + 0x19], cl
je 0x1003ef43
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xe1], 0
je 0x1003ef43
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.10032610
mov ecx, edi
call fcn.1003a030
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
cmp dword [edi + 0x178c], eax
jne 0x1003f1f6
cmp byte [esp + 0x34], 0
jne 0x1003efcd
cmp byte [edi + 0x1799], 0
jne 0x1003efcd
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
inc eax
push eax
call fcn.100480d0
mov edx, dword [esi + 4]
lea eax, [esp + 0x20]
mov esi, dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x40]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], 0
call fcn.100311b0
mov dword [esi + 0x2c], eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, esi
sub eax, dword [esp + 0x38]
mov dword [esi + 0x28], eax
call fcn.1002fa60
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
cmp byte [edi + 0xd4], 0
mov dword [edi + 0x29ec], 1
sete al
cmp byte [esp + 0x2c], 0
mov byte [edi + 0x179a], al
movss xmm1, dword [edi + 0xcc]
subss xmm1, dword [esp + 0x60]
subss xmm1, dword [edi + 0x1418]
addss xmm1, dword [esi + 0x34]
je 0x1003f02d
mov eax, dword [esp + 0x3c]
movss xmm2, dword [edi + 0xd0]
subss xmm2, dword [eax + 0xd0]
subss xmm2, dword [edi + 0x141c]
jmp 0x1003f03d
movss xmm2, dword [edi + 0x171c]
mulss xmm2, dword [0x10070e5c]
cmp byte [esp + 0x1c], 0
mov al, byte [edi + 0xa8]
jne 0x1003f125
cmp byte [esp + 0xf], 0
je 0x1003f065
test al, al
jne 0x1003f09a
cmp byte [edi + 0x371], al
jne 0x1003f125
cmp byte [edi + 0x36c], 0
je 0x1003f0c0
cmp byte [esi + 0xcd1], 0
jne 0x1003f0c0
mov ecx, esi
call fcn.1003d530
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x47], 0
mov dword [esi + 0xccc], 0xbe99999a
jmp 0x1003f140
cmp byte [edi + 0x371], 0
je 0x1003f065
push 0x1000c
mov ecx, esi
call fcn.1003e760
push 0x3000d
mov ecx, esi
call fcn.1003e760
jmp 0x1003f140
cmp byte [edi + 0xd4], 0
je 0x1003f140
cmp byte [esi + 0xcd1], 0
jne 0x1003f149
movss xmm0, dword [edi + 0x320]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1003f0f7
movss xmm0, dword [edi + 0x324]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1003f140
mov ecx, esi
call fcn.1003d530
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [esi + 0x40]
jne 0x1003f10c
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0xccc], 0xbe99999a
mov byte [esi + 0xcd0], 1
jmp 0x1003f140
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], 0
mov byte [esi + 0xcd1], 1
cmp byte [esi + 0xcd1], 0
je 0x1003f159
cmp byte [edi + 0xd4], 0
jne 0x1003f159
mov byte [esi + 0xcd1], 0
add edi, 0x2e6
cmp word [edi], 0
je 0x1003f1f2
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xe1], 0
je 0x1003f17f
cmp byte [eax + 0xe3], 0
je 0x1003f1d2
cmp byte [esp + 0x34], 0
je 0x1003f1d2
mov dword [esp + 0x44], 0
nop
movzx eax, word [edi]
test ax, ax
je 0x1003f1d2
mov dword [esp + 0x20], eax
test eax, eax
je 0x1003f1c1
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x20]
sub esp, 8
call fcn.1003e790
add esp, 8
test al, al
je 0x1003f1c1
push dword [esp + 0x20]
mov ecx, esi
call fcn.1003e760
mov eax, dword [esp + 0x44]
add edi, 2
inc eax
mov dword [esp + 0x44], eax
cmp eax, 0x11
jl 0x1003f190
mov edi, dword [esp + 0x14]
xorps xmm0, xmm0
movups xmmword [edi + 0x2e6], xmm0
movups xmmword [edi + 0x2f6], xmm0
mov word [edi + 0x306], 0
jmp 0x1003f1f6
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor al, al
mov byte [esp + 0xf], al
cmp dword [edi + 0x178c], ecx
jne 0x1003f301
cmp byte [edi + 0x1799], al
jne 0x1003f301
cmp byte [esp + 0x27], al
jne 0x1003f301
mov dl, byte [edi + 0xe2]
mov eax, 0x20000
mov ecx, dword [esp + 0x14]
xor edi, edi
test dl, dl
mov byte [esp + 0x5b], dl
cmovne edi, eax
mov al, byte [ecx + 0xa8]
mov byte [esp + 0x5a], al
test al, al
je 0x1003f25e
cmp byte [ecx + 0xe4], 0
je 0x1003f282
cmp byte [ecx + 0xe1], 0
je 0x1003f270
jmp 0x1003f282
cmp byte [ecx + 0xe1], 0
je 0x1003f282
cmp byte [ecx + 0xe4], 0
jne 0x1003f282
cmp byte [ecx + 0xe3], 0
jne 0x1003f282
mov byte [esp + 0x18], 1
test dl, dl
je 0x1003f287
mov byte [esp + 0x18], 0
test al, al
je 0x1003f2af
cmp byte [ecx + 0xe4], 0
mov al, byte [ecx + 0xe3]
mov byte [esp + 0x19], al
je 0x1003f2b9
cmp byte [ecx + 0xe1], 0
jne 0x1003f2b9
test al, al
jne 0x1003f2b9
mov dh, 1
jmp 0x1003f2bb
mov al, byte [ecx + 0xe1]
mov byte [esp + 0x19], al
xor dh, dh
mov ecx, dword [esp + 0x6c]
mov dl, 1
call fcn.10035ba0
test al, al
je 0x1003f3ce
test dh, dh
je 0x1003f2d9
mov eax, 0x10004
jmp 0x1003f2eb
mov eax, 0x10000
mov ecx, 0x1000c
cmp byte [esp + 0x19], 0
cmovne eax, ecx
or eax, edi
push eax
mov ecx, esi
call fcn.1003e760
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
cmp dword [edi + 0x178c], ecx
jne 0x1003fc07
test al, al
je 0x1003f35c
cmp byte [esp + 0x34], 0
je 0x1003f345
mov eax, dword [ebp + 8]
cmp eax, 1
jl 0x1003f340
push eax
push dword [esi + 0x18]
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov byte [ecx + eax - 1], 0
mov byte [esp + 0x1a], 1
cmp byte [esp + 0x1b], 0
je 0x1003fc07
mov edx, dword [ebp + 0x10]
test dl, 0x20
je 0x1003fc07
cmp byte [esp + 0x34], 0
je 0x1003f38e
mov edi, dword [esp + 0x30]
lea ecx, [esi + 0x1c]
mov eax, dword [edi + 4]
shl eax, 2
push eax
call fcn.10048250
mov edx, dword [esi + 0x1c]
mov esi, edi
push 0
push dword [edi + 0xc]
mov ecx, dword [esi + 0x24]
call fcn.10031270
mov edx, dword [ebp + 0x10]
add esp, 8
test edx, 0x1c0
je 0x1003fbb4
mov dword [esp + 0x28], 0x13
test dl, 0x40
je 0x1003f9fe
mov dl, 1
xor ecx, ecx
call fcn.10035ba0
test al, al
je 0x1003f9fb
mov edi, 0x40
mov dword [esp + 0x28], 0
jmp 0x1003fa52
mov dl, 1
mov ecx, 2
call fcn.10035ba0
test al, al
je 0x1003f3f9
test dh, dh
je 0x1003f3ec
mov eax, 0x10005
jmp 0x1003f2eb
mov eax, 0x10001
lea ecx, [eax + 0xc]
jmp 0x1003f2e3
mov dl, 1
mov ecx, 3
call fcn.10035ba0
test al, al
je 0x1003f467
cmp byte [esp + 0x2c], 0
je 0x1003f467
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xe1], 0
je 0x1003f458
mov eax, dword [esp + 0x3c]
mov edi, ecx
xorps xmm4, xmm4
movss xmm1, dword [eax + 0x68]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x171c]
addss xmm1, dword [eax + 0xe8]
maxss xmm0, xmm4
subss xmm1, xmm0
movss dword [eax + 0x68], xmm0
movss dword [eax + 0xe8], xmm1
jmp 0x1003f2f9
movzx eax, dh
lea eax, [eax*4 + 0x10002]
jmp 0x1003f2eb
mov dl, 1
mov ecx, 4
call fcn.10035ba0
test al, al
je 0x1003f501
cmp byte [esp + 0x2c], 0
je 0x1003f501
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xe1], 0
je 0x1003f4f2
mov eax, dword [0x10077088]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x176c]
movss xmm3, dword [ecx + 0x68]
movss xmm2, dword [edi + 0x171c]
addss xmm2, xmm3
movss xmm0, dword [eax + 0x2c]
subss xmm0, dword [eax + 0x84]
movss xmm1, dword [eax + 0x34]
addss xmm3, dword [ecx + 0xe8]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [ecx + 0x68], xmm2
movss dword [ecx + 0xe8], xmm3
jmp 0x1003f2f9
movzx eax, dh
lea eax, [eax*4 + 0x10003]
jmp 0x1003f2eb
mov dl, 1
mov ecx, 7
call fcn.10035ba0
test al, al
je 0x1003f52c
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp byte [ecx + 0xe1], al
setne al
lea eax, [eax*2 + 0x10004]
jmp 0x1003f2eb
mov ecx, 8
call fcn.10035ba0
test al, al
je 0x1003f555
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp byte [ecx + 0xe1], al
setne al
lea eax, [eax*2 + 0x10005]
jmp 0x1003f2eb
mov ecx, 9
call fcn.10035ba0
test al, al
je 0x1003f576
cmp byte [esp + 0x34], 0
je 0x1003f576
or edi, 0x10008
push edi
jmp 0x1003f2ee
mov ecx, 0xa
call fcn.10035ba0
test al, al
je 0x1003f5f0
cmp byte [esp + 0x34], 0
je 0x1003f5f0
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1003f5e4
cmp byte [esp + 0x19], 0
je 0x1003f5b2
push 0x3000c
mov ecx, esi
call fcn.1003e760
or edi, 0x10009
push edi
jmp 0x1003f2ee
cmp byte [esp + 0x5a], 0
je 0x1003f5e4
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xe4], 0
je 0x1003f5e4
cmp byte [eax + 0xe3], 0
jne 0x1003f5e4
cmp byte [eax + 0xe1], 0
jne 0x1003f5e4
push 0x30004
mov ecx, esi
call fcn.1003e760
or edi, 0x10009
push edi
jmp 0x1003f2ee
mov ecx, 0xb
call fcn.10035ba0
test al, al
je 0x1003f676
mov edx, dword [ebp + 0x10]
mov eax, edx
mov edi, dword [esp + 0x14]
shr eax, 0xb
and al, 1
cmp byte [esp + 0x2c], 0
je 0x1003f620
test al, al
je 0x1003f637
cmp byte [edi + 0xe1], 0
jne 0x1003f640
mov byte [esp + 0x27], 1
mov byte [esp + 0x1b], 1
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
jmp 0x1003f304
cmp byte [edi + 0xe1], 0
jne 0x1003f620
cmp byte [esp + 0x34], 0
je 0x1003f62a
mov dword [esp + 0x20], 0xa
sub esp, 8
lea ecx, [esp + 0x28]
call fcn.1003e790
add esp, 8
test al, al
je 0x1003f2f9
push dword [esp + 0x20]
mov ecx, esi
call fcn.1003e760
jmp 0x1003f2f9
test dword [ebp + 0x10], 0x400
je 0x1003f6bb
xor ecx, ecx
call fcn.10035ba0
mov edi, dword [esp + 0x14]
test al, al
je 0x1003f6bf
cmp byte [edi + 0xe1], 0
jne 0x1003f6bf
cmp byte [esp + 0x5b], 0
jne 0x1003f6bf
cmp byte [edi + 0xe3], 0
jne 0x1003f6bf
cmp byte [esp + 0x34], 0
je 0x1003f6bf
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], 9
jmp 0x1003f64f
mov edi, dword [esp + 0x14]
mov dl, 1
mov ecx, 0xc
call fcn.10035ba0
test al, al
je 0x1003f6da
mov al, dl
mov byte [esp + 0x27], al
jmp 0x1003f2fd
cmp byte [esp + 0x18], 0
je 0x1003f2f9
mov ecx, 0x12
call fcn.10035ba0
test al, al
je 0x1003f714
cmp byte [esp + 0x34], 0
je 0x1003f714
push 0x1000a
mov ecx, esi
call fcn.1003e760
mov eax, dword [esi + 0x38]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
jmp 0x1003f2f9
mov ecx, 0x11
call fcn.10035ba0
test al, al
je 0x1003f730
cmp byte [esp + 0x34], 0
je 0x1003f730
push 0x1000b
jmp 0x1003f6ff
mov ecx, 0xd
call fcn.10035ba0
test al, al
je 0x1003f75d
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], 0
mov byte [esi + 0xcd0], dl
jmp 0x1003f2f9
cmp byte [esp + 0xac], 0
jne 0x1003f870
mov ecx, 0x10
call fcn.10035ba0
mov cl, al
mov byte [esp + 0x18], cl
test cl, cl
je 0x1003f786
cmp byte [esp + 0x34], 0
jne 0x1003f79c
mov ecx, 0xe
call fcn.10035ba0
test al, al
je 0x1003f870
mov cl, byte [esp + 0x18]
cmp byte [esp + 0x2c], 0
je 0x1003f7af
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1003f870
test cl, cl
je 0x1003f7cf
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1003f7cf
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], 0
cmp dword [edi + 0xb4], 0
je 0x1003f842
mov edi, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x1003f7e9
mov ecx, edi
cmovl ecx, eax
jmp 0x1003f7eb
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x20], ecx
cmovge edi, eax
jne 0x1003f7f9
mov edi, dword [esi + 0x2c]
mov eax, edi
sub eax, ecx
lea ecx, [esi + 0x1c]
lea eax, [eax*4 + 1]
push eax
call fcn.10048250
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x1c]
mov esi, dword [esp + 0x30]
mov ecx, dword [eax + 0xc]
lea eax, [ecx + edi*2]
push eax
mov eax, dword [esp + 0x24]
lea eax, [ecx + eax*2]
mov ecx, dword [esi + 0x24]
push eax
call fcn.10031270
mov ecx, dword [esi + 0x24]
add esp, 8
call fcn.10032d60
mov cl, byte [esp + 0x18]
mov edi, dword [esp + 0x14]
test cl, cl
je 0x1003f2f9
mov byte [esi + 0xcd0], 1
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x1003f2f5
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.1003d8d0
mov byte [esi + 0x47], 0
jmp 0x1003f2f5
mov dl, 1
mov ecx, 0xf
call fcn.10035ba0
test al, al
je 0x1003f2f9
cmp byte [esp + 0x34], 0
je 0x1003f2f9
mov eax, dword [0x10077088]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x1003f8b4
push dword [eax + 0xb8]
call ecx
mov edi, eax
add esp, 4
test edi, edi
jne 0x1003f8b9
jmp 0x1003f2f5
mov edi, 0x1006ff84
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003f8c0
sub ecx, edx
lea ecx, [ecx*2 + 2]
call fcn.10032d20
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [edi], al
je 0x1003f93b
xor esi, esi
push 0
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.10031000
add edi, eax
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1003f92f
cmp eax, 0x10000
jae 0x1003f92a
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x4c]
sub esp, 8
call fcn.1003e790
add esp, 8
test al, al
je 0x1003f92a
mov ecx, dword [esp + 0x28]
mov ax, word [esp + 0x4c]
mov word [ecx + esi*2], ax
inc esi
cmp byte [edi], 0
jne 0x1003f8e5
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1003f9ed
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x2c]
cmp ecx, edx
je 0x1003f973
cmp ecx, eax
jle 0x1003f961
mov dword [esi + 0x3c], eax
cmp edx, eax
jle 0x1003f968
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [esi + 0x40]
jne 0x1003f973
mov dword [esi + 0x38], ecx
cmp dword [esi + 0x38], eax
jle 0x1003f97b
mov dword [esi + 0x38], eax
lea edx, [esi + 0x38]
mov ecx, esi
call fcn.1003d8d0
push dword [esp + 0x1c]
mov edx, dword [esi + 0x38]
mov ecx, esi
push dword [esp + 0x2c]
call fcn.1003d480
add esp, 8
test al, al
je 0x1003f9d2
push dword [esp + 0x1c]
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x50]
push 0
call fcn.1003e420
mov eax, dword [esp + 0x24]
add esp, 8
add dword [esi + 0x38], eax
mov ecx, dword [esp + 0x28]
mov byte [esi + 0x47], 0
mov byte [esi + 0xcd0], 1
call fcn.10032d40
jmp 0x1003f2f5
movzx eax, word [esi + 0xcc2]
test ax, ax
je 0x1003f9e6
dec eax
mov word [esi + 0xcc2], ax
mov byte [esi + 0xcd0], 1
mov ecx, dword [esp + 0x28]
call fcn.10032d40
jmp 0x1003f2f5
mov edx, dword [ebp + 0x10]
test dl, dl
jns 0x1003fa41
mov dl, 1
mov ecx, 3
call fcn.10035ba0
test al, al
je 0x1003fa21
mov edi, 0x80
mov dword [esp + 0x28], 3
jmp 0x1003fa52
mov ecx, 4
call fcn.10035ba0
test al, al
je 0x1003fa3e
mov edi, 0x80
mov dword [esp + 0x28], 4
jmp 0x1003fa52
mov edx, dword [ebp + 0x10]
test edx, 0x100
je 0x1003fbb4
mov edi, 0x100
push 0x30
lea eax, [esp + 0xe4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0xe4], eax
mov al, byte [esp + 0x34]
xor al, 1
mov dword [esp + 0xe0], edi
mov byte [esp + 0xec], al
mov eax, dword [esp + 0x28]
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0xf4], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xf8], eax
mov eax, dword [esi + 0x30]
mov esi, dword [esi + 0xc]
mov ecx, esi
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xe8], 0
mov byte [esp + 0x100], 0
mov eax, dword [eax + 0x38]
lea edx, [esi + eax*2]
call fcn.100313b0
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x104], edi
mov ecx, dword [eax + 0x3c]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.100313b0
mov dword [esp + 0x20], eax
mov ecx, esi
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x40]
lea edx, [esi + edx*2]
call fcn.100313b0
mov dword [esp + 0x44], eax
mov dword [esp + 0x10c], eax
lea eax, [esp + 0xe0]
push eax
xor eax, eax
call eax
mov ecx, dword [esp + 0x108]
add esp, 4
cmp ecx, edi
mov edi, dword [esp + 0xf4]
je 0x1003fb49
lea edx, [ecx + edi]
mov ecx, edi
call fcn.10031220
mov esi, dword [esp + 0x30]
mov dword [esi + 0x38], eax
jmp 0x1003fb4d
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x108]
cmp eax, dword [esp + 0x20]
je 0x1003fb67
lea edx, [eax + edi]
mov ecx, edi
call fcn.10031220
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x10c]
cmp eax, dword [esp + 0x44]
je 0x1003fb81
lea edx, [eax + edi]
mov ecx, edi
call fcn.10031220
mov dword [esi + 0x40], eax
cmp byte [esp + 0x100], 0
je 0x1003fbb4
mov edx, dword [esi + 4]
push 0
push ecx
mov ecx, dword [esi + 0xc]
push edi
call fcn.100311b0
mov dword [esi + 0x2c], eax
add esp, 0xc
mov eax, dword [esp + 0xf8]
mov dword [esi + 0x28], eax
mov dword [esi + 0xccc], 0xbe99999a
cmp byte [esp + 0x34], 0
je 0x1003fc03
mov edi, dword [esi + 0x24]
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fbe4
test dl, dl
je 0x1003fbe0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fbe4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fbc4
xor eax, eax
jmp 0x1003fbe9
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003fc03
push dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, edi
call fcn.10030e20
add esp, 4
mov byte [esp + 0x1a], 1
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x27], 0
mov eax, dword [esp + 0x10]
je 0x1003fc23
cmp dword [edi + 0x178c], eax
jne 0x1003fc39
call fcn.10032660
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x178c], eax
jne 0x1003fc39
cmp byte [esp + 0x34], 0
je 0x1003fc39
mov eax, dword [esi + 0x24]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
movss xmm3, dword [0x10070e90]
test cl, cl
jne 0x1003fc86
push dword [esp + 0x7c]
movaps xmm1, xmm3
mov ecx, 7
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.10031430
movss xmm2, dword [edi + 0x1420]
mov dl, 1
mov ecx, eax
call fcn.10035520
movss xmm3, dword [0x10070e90]
add esp, 0x10
mov ecx, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x60]
movss xmm5, dword [esp + 0xa0]
movaps xmm1, xmm4
movss xmm2, dword [esp + 0xa8]
movss xmm0, dword [esp + 0x84]
addss xmm1, xmm2
mov edx, dword [esp + 0x3c]
addss xmm0, xmm5
movss dword [esp + 0x90], xmm4
movss dword [esp + 0x94], xmm5
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x9c], xmm0
test cl, cl
je 0x1003fd03
mov eax, dword [edx + 0xcc]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0xd0]
mov dword [esp + 0x74], eax
jmp 0x1003fd26
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x1418]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [edi + 0x141c]
addss xmm0, xmm5
movss dword [esp + 0x74], xmm0
lea eax, [esp + 0x70]
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x20], xmm0
cmp dword [esi], eax
jne 0x1003fd9b
test cl, cl
je 0x1003fd9b
mov ecx, dword [edx + 0x1c8]
mov eax, dword [edx + 0x1d0]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10030ee0
add esp, 4
cmp dword [edi + 0x178c], eax
jne 0x1003fd9b
mov al, 1
jmp 0x1003fd9d
xor al, al
mov ecx, dword [esp + 0x10]
cmp dword [edi + 0x178c], ecx
je 0x1003fe5c
test al, al
jne 0x1003fe5c
mov esi, dword [esp + 0x38]
xor ecx, ecx
cmp byte [esp + 0x2c], cl
je 0x1003fe13
mov al, byte [esi]
lea ecx, [esi + 1]
xor edx, edx
mov byte [esp + 0x18], al
test al, al
je 0x1003fde8
cmp byte [esp + 0x18], 0xa
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [esp + 0x18], al
test al, al
jne 0x1003fdd0
mov al, byte [ecx - 1]
dec ecx
cmp al, 0xa
je 0x1003fdf5
cmp al, 0xd
je 0x1003fdf5
inc edx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x171c]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm0
xor edx, edx
lea eax, [esp + 0x90]
cmp byte [esp + 0x2c], dl
movaps xmm1, xmm3
cmovne eax, edx
push eax
push ecx
mov dword [esp], edx
push ecx
push esi
xor ecx, ecx
call fcn.10031430
movss xmm2, dword [edi + 0x171c]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x54]
push dword [edi + 0x1718]
mov ecx, dword [eax + 0x26c]
call fcn.10051d00
jmp 0x10040891
movss xmm0, dword [edi + 0xc]
xorps xmm7, xmm7
mov ecx, dword [esi + 0xc]
mov edi, 0xfffffc19
addss xmm0, dword [esi + 0xccc]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], 0
lea eax, [ecx + eax*2]
movss dword [esi + 0xccc], xmm0
mov dword [esp + 0x68], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0x40]
mov ecx, 1
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x1c], edi
cmp edx, eax
je 0x1003fed0
mov edi, dword [esp + 0x10]
cmovl eax, edx
mov ecx, 2
lea eax, [edi + eax*2]
or edi, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x2c]
xor edx, edx
mov esi, dword [esp + 0x10]
movzx eax, al
add ecx, eax
mov eax, esi
movzx esi, word [esi]
test si, si
mov esi, dword [esp + 0x30]
je 0x1003ff3d
mov esi, dword [esp + 0x1c]
mov edi, eax
movzx edi, word [edi]
cmp di, 0xa
jne 0x1003ff25
inc edx
cmp dword [esp + 0x64], 0xffffffff
jne 0x1003ff13
cmp eax, dword [esp + 0x68]
jb 0x1003ff13
dec ecx
mov dword [esp + 0x64], edx
test ecx, ecx
jle 0x1003ff31
cmp esi, 0xffffffff
jne 0x1003ff25
cmp eax, dword [esp + 0x40]
jb 0x1003ff25
dec ecx
mov esi, edx
test ecx, ecx
jle 0x1003ff31
movzx edi, word [eax + 2]
add eax, 2
test di, di
jne 0x1003fef6
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
inc edx
cmp dword [esp + 0x64], 0xffffffff
mov ecx, edx
mov dword [esp + 0xc4], edx
cmovne ecx, dword [esp + 0x64]
mov eax, edx
mov edx, dword [esp + 0x68]
cmp edi, 0xffffffff
mov dword [esp + 0x1c], ecx
mov ecx, edx
cmovne eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x64], eax
cmp edx, edi
jbe 0x1003ff7e
nop
cmp word [ecx - 2], 0xa
je 0x1003ff7e
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x1003ff70
mov eax, dword [0x10077088]
movaps xmm1, xmm5
movaps xmm6, xmm5
mov edi, dword [eax + 0x1718]
movss xmm3, dword [eax + 0x171c]
divss xmm3, dword [edi]
cmp ecx, edx
jae 0x1003ffe2
nop
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x1003ffb4
maxss xmm1, xmm6
movaps xmm6, xmm5
jmp 0x1003ffde
cmp eax, 0xd
je 0x1003ffde
mov edx, eax
cmp edx, dword [edi + 0x1c]
jge 0x1003ffca
mov eax, dword [edi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x1003ffcf
movss xmm0, dword [edi + 0x38]
mov edx, dword [esp + 0x68]
mulss xmm0, xmm3
addss xmm0, xmm6
movaps xmm6, xmm0
cmp ecx, edx
jb 0x1003ffa0
cmp dword [esp + 0x64], 0
maxss xmm6, xmm1
movd xmm4, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cvtdq2ps xmm4, xmm4
movss xmm2, dword [ecx + 0x171c]
mulss xmm4, xmm2
movss dword [esp + 0xd8], xmm6
movss dword [esp + 0x1c], xmm4
jl 0x100400a1
mov eax, dword [esp + 0x40]
mov ecx, eax
mov edx, dword [esp + 0x10]
cmp eax, edx
jbe 0x10040039
cmp word [ecx - 2], 0xa
je 0x10040035
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10040027
mov eax, dword [esp + 0x40]
movaps xmm1, xmm5
movaps xmm7, xmm5
cmp ecx, eax
jae 0x10040086
mov esi, dword [esp + 0x40]
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x1004005b
maxss xmm1, xmm7
movaps xmm7, xmm5
jmp 0x1004007e
cmp eax, 0xd
je 0x1004007e
mov edx, eax
cmp edx, dword [edi + 0x1c]
jge 0x10040071
mov eax, dword [edi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x10040076
movss xmm0, dword [edi + 0x38]
mulss xmm0, xmm3
addss xmm7, xmm0
cmp ecx, esi
jb 0x10040047
mov esi, dword [esp + 0x30]
movd xmm0, dword [esp + 0x64]
maxss xmm7, xmm1
mov ecx, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
movss xmm3, dword [esp + 0xa8]
test dl, dl
je 0x100400d1
movd xmm0, dword [esp + 0xc4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x44], xmm0
cmp byte [esi + 0xcd0], 0
je 0x100401c4
test dword [ebp + 0x10], 0x1000
jne 0x1004012e
movss xmm1, dword [esi + 0x34]
movaps xmm2, xmm3
comiss xmm1, xmm6
mulss xmm2, dword [0x10070e38]
jbe 0x1004010c
movaps xmm1, xmm6
movaps xmm0, xmm5
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1004011c
movaps xmm0, xmm6
subss xmm0, xmm3
comiss xmm0, xmm1
jb 0x10040135
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x34], xmm0
jmp 0x10040135
mov dword [esi + 0x34], 0
test dl, dl
je 0x100401c4
mov eax, dword [esp + 0x3c]
movaps xmm1, xmm4
subss xmm1, dword [ecx + 0x171c]
movss xmm2, dword [eax + 0x68]
comiss xmm2, xmm1
jbe 0x1004015f
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x1004016f
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x84]
maxss xmm0, xmm2
subss xmm2, xmm0
movss dword [eax + 0x68], xmm0
addss xmm2, dword [eax + 0xd0]
movss dword [eax + 0xd0], xmm2
movss xmm0, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esp + 0x90]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x60], xmm2
movss xmm4, dword [esi + 0x34]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
mov byte [esi + 0xcd0], 0
movss dword [esp + 0x40], xmm4
cmp edx, ecx
je 0x100404d5
mov edi, dword [esp + 0x10]
mov eax, ecx
cmovge ecx, edx
cmovl eax, edx
cmp byte [esp + 0x2c], 0
lea edx, [edi + ecx*2]
lea esi, [edi + eax*2]
mov dword [esp + 0x10], edx
je 0x10040212
movss dword [esp + 0xd0], xmm5
movss dword [esp + 0x68], xmm5
jmp 0x10040220
movss xmm0, dword [0x10070ebc]
movss dword [esp + 0x68], xmm0
movss xmm1, dword [0x10070e90]
mov ecx, 0x28
call fcn.10031430
movss xmm6, dword [esp + 0x28]
xorps xmm5, xmm5
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xc4], eax
addss xmm6, dword [esp + 0x4c]
movss xmm4, dword [edi]
addss xmm4, xmm7
subss xmm6, xmm5
subss xmm4, dword [esp + 0x40]
movss dword [esp + 0x28], xmm6
cmp esi, edx
jae 0x1004051b
movss xmm0, dword [esp + 0x5c]
mov edi, eax
movss xmm1, dword [esp + 0x94]
movss xmm2, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
nop word [eax + eax]
movss xmm5, dword [ecx + 0x171c]
addss xmm0, xmm5
comiss xmm6, xmm0
ja 0x100404c8
comiss xmm1, xmm6
jbe 0x100402ca
cmp esi, edx
jae 0x100402bf
nop
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x100402bf
cmp esi, edx
jb 0x100402b0
movss xmm0, dword [esp + 0x5c]
jmp 0x100404a9
xorps xmm7, xmm7
mov eax, dword [0x10077088]
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x1718]
movss xmm2, dword [eax + 0x171c]
divss xmm2, dword [edx]
cmp esi, dword [esp + 0x10]
jae 0x10040334
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x10040326
cmp eax, 0xd
je 0x1004031e
mov ecx, eax
cmp ecx, dword [edx + 0x1c]
jge 0x10040311
mov eax, dword [edx + 0x24]
movss xmm0, dword [eax + ecx*4]
jmp 0x10040316
movss xmm0, dword [edx + 0x38]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [esp + 0x10]
jb 0x100402f0
jmp 0x10040330
movaps xmm3, xmm7
maxss xmm3, xmm1
movaps xmm1, xmm7
mov ecx, dword [esp + 0x14]
maxss xmm1, xmm3
comiss xmm7, xmm1
jb 0x1004036e
mov eax, dword [ecx + 0x1718]
cmp dword [eax + 0x1c], 0x20
jle 0x10040356
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + 0x80]
jmp 0x1004035b
movss xmm0, dword [eax + 0x38]
mulss xmm0, dword [0x10070e5c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [esp + 0xd0]
movaps xmm3, xmm4
subss xmm0, xmm5
movaps xmm2, xmm6
addss xmm3, xmm1
movaps xmm1, xmm6
addss xmm1, dword [esp + 0x68]
addss xmm4, xmm7
addss xmm2, xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm1
comiss xmm0, xmm4
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x84], xmm2
jbe 0x100403d1
movaps xmm4, xmm0
movss dword [esp + 0x80], xmm4
movss xmm5, dword [esp + 0x94]
comiss xmm5, xmm2
jbe 0x100403eb
movaps xmm2, xmm5
movss dword [esp + 0x84], xmm2
movss xmm7, dword [esp + 0xcc]
comiss xmm3, xmm7
jbe 0x10040405
movaps xmm3, xmm7
movss dword [esp + 0x88], xmm3
movss xmm0, dword [esp + 0x5c]
comiss xmm1, xmm0
jbe 0x1004041c
movaps xmm1, xmm0
movss dword [esp + 0x8c], xmm1
comiss xmm1, xmm5
jbe 0x10040496
comiss xmm0, xmm2
jbe 0x10040496
comiss xmm3, dword [esp + 0x60]
jbe 0x10040496
comiss xmm7, xmm4
jbe 0x10040496
push 0xf
push ecx
mov dword [esp], 0
lea eax, [esp + 0x90]
push edi
push eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x26c]
call fcn.100517a0
movss xmm1, dword [esp + 0x98]
movss xmm0, dword [esp + 0x9c]
movss xmm6, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
movss dword [esp + 0xcc], xmm1
movss xmm1, dword [esp + 0x90]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm1
movss xmm1, dword [esp + 0x94]
movss xmm2, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
movaps xmm4, xmm2
addss xmm6, dword [ecx + 0x171c]
subss xmm4, dword [esp + 0x40]
movss dword [esp + 0x28], xmm6
cmp esi, edx
jb 0x10040290
movss xmm4, dword [esp + 0x40]
xorps xmm5, xmm5
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xa4]
mov eax, dword [0x10077088]
movss xmm6, dword [0x10070e90]
movups xmm0, xmmword [eax + 0x1478]
movss xmm3, dword [eax + 0x13e4]
movaps xmmword [esp + 0xb0], xmm0
movss xmm1, dword [esp + 0xb0]
comiss xmm5, xmm1
shufps xmm0, xmm0, 0xff
mulss xmm3, xmm0
jbe 0x10040527
movaps xmm0, xmm5
jmp 0x1004052e
movss xmm4, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
jmp 0x100404dc
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm2, dword [0x10070f58]
movss xmm7, dword [0x10070e5c]
movss xmm1, dword [esp + 0xb4]
comiss xmm5, xmm1
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1004055d
movaps xmm0, xmm5
jmp 0x10040564
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [esp + 0xb8]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm1
jbe 0x10040588
movaps xmm0, xmm5
jmp 0x1004058f
movaps xmm0, xmm6
minss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm3
jbe 0x100405aa
movaps xmm1, xmm5
jmp 0x100405b1
movaps xmm1, xmm6
minss xmm1, xmm3
movss xmm0, dword [edi]
lea eax, [esp + 0x90]
xor edx, edx
mulss xmm1, xmm2
cmp byte [esp + 0x2c], dl
subss xmm0, xmm4
cmovne eax, edx
push eax
mov eax, dword [esi + 0x28]
addss xmm1, xmm7
mov esi, dword [esp + 0x18]
push ecx
mov dword [esp], edx
mov edx, dword [esp + 0x40]
add eax, edx
push eax
movss xmm2, dword [esi + 0x171c]
cvttss2si eax, xmm1
push edx
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x5c]
shl eax, 0x18
subss xmm0, xmm5
or eax, ecx
push eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x54]
push dword [esi + 0x1718]
movss dword [esp + 0xa0], xmm0
mov ecx, dword [eax + 0x26c]
call fcn.10051d00
cmp byte [esi + 0xa9], 0
je 0x1004068c
movss xmm0, dword [esi + 0x2734]
xorps xmm4, xmm4
comiss xmm4, xmm0
jae 0x1004068c
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
fld qword [0x10070eb0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10070e70]
fstp qword [esp + 0x80]
movsd xmm1, qword [esp + 0x80]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1004068c
xor al, al
jmp 0x1004068e
mov al, 1
movss xmm0, dword [esp + 0x1c]
xorps xmm5, xmm5
movss xmm6, dword [edi]
mov edi, esi
movss xmm4, dword [0x10070e5c]
movss xmm7, dword [0x10070e90]
addss xmm0, dword [esp + 0x4c]
addss xmm6, dword [esp + 0xd8]
subss xmm0, xmm5
subss xmm6, dword [esp + 0x40]
movss dword [esp + 0x1c], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x48], xmm6
movaps xmm2, xmm6
movss dword [esp + 0xb0], xmm6
movaps xmm3, xmm0
addss xmm2, xmm7
subss xmm1, dword [edi + 0x171c]
subss xmm3, dword [0x10070eac]
movss dword [esp + 0xb8], xmm2
addss xmm1, xmm4
movss dword [esp + 0xbc], xmm3
movss dword [esp + 0xb4], xmm1
test al, al
je 0x1004086a
comiss xmm3, dword [esp + 0x94]
jbe 0x1004086a
movss xmm0, dword [esp + 0x9c]
comiss xmm0, xmm1
jbe 0x10040864
comiss xmm2, dword [esp + 0x90]
jbe 0x10040864
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm6
jbe 0x10040864
mov eax, dword [0x10077088]
movups xmm1, xmmword [eax + 0x1478]
movaps xmmword [esp + 0x70], xmm1
movss xmm2, dword [esp + 0x70]
comiss xmm5, xmm2
shufps xmm1, xmm1, 0xff
mulss xmm1, dword [eax + 0x13e4]
jbe 0x1004078c
xorps xmm0, xmm0
jmp 0x10040793
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [0x10070f58]
mulss xmm0, xmm2
addss xmm0, xmm4
movss xmm4, dword [esp + 0x74]
comiss xmm5, xmm4
cvttss2si ecx, xmm0
jbe 0x100407b7
xorps xmm0, xmm0
jmp 0x100407be
movaps xmm0, xmm7
minss xmm0, xmm4
movss xmm4, dword [esp + 0x78]
mulss xmm0, xmm2
addss xmm0, dword [0x10070e5c]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm4
jbe 0x100407e3
xorps xmm0, xmm0
jmp 0x100407ea
movaps xmm0, xmm7
minss xmm0, xmm4
movss xmm4, dword [0x10070e5c]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x1004080d
xorps xmm0, xmm0
jmp 0x10040814
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm2
push ecx
mov dword [esp], 0x3f800000
movss dword [esp + 0x74], xmm6
addss xmm0, xmm4
movss dword [esp + 0x78], xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x26c]
call fcn.10051590
movss xmm6, dword [esp + 0x48]
movss xmm7, dword [0x10070e90]
movss xmm0, dword [esp + 0x1c]
cmp byte [esp + 0x34], 0
mov esi, dword [esp + 0x38]
je 0x10040891
subss xmm0, dword [edi + 0x171c]
subss xmm6, xmm7
movss dword [edi + 0x27dc], xmm0
movss dword [edi + 0x27d8], xmm6
cmp byte [esp + 0x2c], 0
je 0x10040964
mov ecx, dword [0x10077088]
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x20]
addss xmm3, dword [edi + 0x171c]
movss xmm4, dword [esp + 0x44]
mov eax, dword [ecx + 0x176c]
addss xmm4, xmm2
mov byte [eax + 0x8a], 1
mov eax, dword [ecx + 0x176c]
cmp byte [eax + 0x8c], 0
jne 0x10040947
movss xmm1, dword [eax + 0xd0]
lea ecx, [esp + 0x70]
addss xmm4, dword [eax + 0xcc]
movss xmm0, dword [eax + 0xcc]
addss xmm3, xmm1
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xb8], xmm4
subss xmm4, xmm0
movss dword [esp + 0xbc], xmm3
subss xmm3, xmm1
xorps xmm1, xmm1
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm3
call fcn.100326f0
xor edx, edx
lea ecx, [esp + 0xb0]
call fcn.10032800
call fcn.10036780
mov ecx, 3
call fcn.1003a520
mov ecx, dword [esp + 0x6c]
call fcn.1003a450
call fcn.10046510
mov eax, dword [esp + 0xac]
test al, al
je 0x1004097b
call fcn.1003a390
mov eax, dword [esp + 0xac]
cmp byte [edi + 0x27e8], 0
je 0x10040998
test al, al
jne 0x10040998
push 0
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.10034fa0
add esp, 4
movss xmm0, dword [esp + 0xc8]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x100409f2
movss xmm0, dword [edi + 0x1430]
xor edx, edx
addss xmm0, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd4]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [edi + 0x141c]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
push 1
call fcn.100350b0
add esp, 0xc
test byte [ebp + 0x10], 0x20
movzx eax, byte [esp + 0x1a]
movzx ecx, byte [esp + 0x1b]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret