Function at 0x1009cabe
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca024
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x100e1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
mov eax, 0xf
mov dword [ebp - 0x18], ecx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1009d3af
cmp dword [0x100e1590], 0
je 0x1009d3af
mov eax, dword [0x102c1980]
mov edi, dword [ecx + 8]
test al, 1
jne 0x1009c6ba
or eax, 1
mov dword [0x102c1980], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a8]
call fcn.1004e6e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x102c1984
call fcn.1004eb30
add esp, 4
push 0x100cbb10
call fcn.100be7a0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x102c1984]
call eax
mov esi, eax
mov dword [ebp - 0x19c], esi
test edi, edi
je 0x1009c74c
test esi, esi
je 0x1009c74c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009c74c
nop
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1009c729
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009c700
xor edx, edx
test ecx, ecx
je 0x1009c729
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009c710
cmp edi, 0xd791104e
je 0x1009c744
mov ecx, dword [ebp - 0x194]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009c74c
mov esi, dword [ebp - 0x19c]
jmp 0x1009c6e0
mov ecx, dword [ebp - 0x194]
jmp 0x1009c74e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100d5898]
dec eax
movss xmm1, dword [0x100d5890]
movss xmm5, dword [0x100d5660]
cmp eax, 6
ja case.0x1009c770.2
jmp dword [eax*4 + 0x1009d404]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1009c7de
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1009c7de
movss xmm4, dword [ecx + 0xc]
movaps xmm3, xmm0
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm5
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1009c7de
xor edx, edx
jmp 0x1009c7de
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x102bc13c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x102c1980]
mov dword [ebp - 0x1c], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1009c842
or ecx, 1
mov dword [0x102c1980], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
call fcn.1004e6e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x102c1984
call fcn.1004eb30
add esp, 4
push 0x100cbb10
call fcn.100be7a0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x102c1984]
call eax
mov esi, eax
mov dword [ebp - 0x19c], esi
test edi, edi
je 0x1009c8cd
test esi, esi
je 0x1009c8cd
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009c8cd
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1009c8aa
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009c884
xor edx, edx
test ecx, ecx
je 0x1009c8aa
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009c891
cmp edi, 0x11ab48ff
je 0x1009c8c5
mov ecx, dword [ebp - 0x194]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009c8cd
mov esi, dword [ebp - 0x19c]
jmp 0x1009c866
mov ecx, dword [ebp - 0x194]
jmp 0x1009c8cf
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009c8dd.2
jmp dword [eax*4 + 0x1009d420]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1009c960
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1009c960
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d5898]
movaps xmm0, xmm4
movss xmm1, dword [0x100d5890]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100d5660]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1009c960
xor edx, edx
jmp 0x1009c960
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x102bc13c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x198], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1009d3ac
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1009d3ac
mov ecx, dword [0x102bc13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1009d3ac
mov ecx, dword [0x102bc13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1009d3ac
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [0x102c1980]
test al, 1
jne 0x1009ca0b
or eax, 1
mov dword [0x102c1980], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a8]
call fcn.1004e6e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x102c1984
call fcn.1004eb30
add esp, 4
push 0x100cbb10
call fcn.100be7a0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x102c1984]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x1009ca99
test esi, esi
je 0x1009ca99
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009ca99
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1009ca79
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009ca50
xor edx, edx
test ecx, ecx
je 0x1009ca79
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ca60
cmp edi, 0x2a7e565d
je 0x1009ca91
mov ecx, dword [ebp - 0x194]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009ca99
mov esi, dword [ebp - 0x1c]
jmp 0x1009ca30
mov ecx, dword [ebp - 0x194]
jmp 0x1009ca9b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009caa9.2
jmp dword [eax*4 + 0x1009d43c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009cb2e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009cb2e
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d5898]
movaps xmm0, xmm4
movss xmm1, dword [0x100d5890]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100d5660]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1009cb2e
xor eax, eax
mov dword [ebp - 0x19c], eax
jmp 0x1009cb3d
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x19c], eax
cmp eax, 0xa
je 0x1009d3ac
mov ecx, dword [0x102bc140]
mov esi, dword [ebp - 0x198]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1009d3ac
mov ecx, dword [0x102bc13c]
lea edx, [ebp - 0x190]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1009d3ac
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x1a0], 0
movups xmmword [ebp - 0x1b4], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009cba0
sub ecx, edx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x1b4]
call fcn.1002ff60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1b4]
mov ecx, 0x18
mov dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x1a4], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1cc], xmm0
cmovb ecx, dword [ebp - 0x1a4]
cmp dword [ebp - 0x1a0], 0xf
push ecx
cmova eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1cc]
push eax
mov dword [ebp - 0x1b8], 0
call fcn.1002ff60
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x38]
call fcn.10046ee0
mov ecx, dword [ebp - 0x1b8]
cmp ecx, 0xf
jbe 0x1009cc5a
mov edx, dword [ebp - 0x1cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009cc50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d3d4
push ecx
push edx
call fcn.100be7ba
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1a0]
cmp ecx, 0xf
jbe 0x1009cc98
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009cc8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d3d4
push ecx
push edx
call fcn.100be7ba
add esp, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [0x102c1980]
test al, 1
jne 0x1009cce8
or eax, 1
mov dword [0x102c1980], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a8]
call fcn.1004e6e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x102c1984
call fcn.1004eb30
add esp, 4
push 0x100cbb10
call fcn.100be7a0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x102c1984]
call eax
mov esi, eax
mov dword [ebp - 0x198], esi
test edi, edi
je 0x1009cd7c
test esi, esi
je 0x1009cd7c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009cd7c
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1009cd59
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009cd30
xor edx, edx
test ecx, ecx
je 0x1009cd59
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009cd40
cmp edi, 0xa0d9523e
je 0x1009cd74
mov ecx, dword [ebp - 0x194]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x194], ecx
test ecx, ecx
je 0x1009cd7c
mov esi, dword [ebp - 0x198]
jmp 0x1009cd10
mov ecx, dword [ebp - 0x194]
jmp 0x1009cd7e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009cd8c.2
jmp dword [eax*4 + 0x1009d458]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009ce0b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009ce0b
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d5898]
movaps xmm0, xmm4
movss xmm1, dword [0x100d5890]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100d5660]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1009ce0b
xor eax, eax
jmp 0x1009ce0b
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [0x102c1980]
test al, 1
jne 0x1009ce61
or eax, 1
mov dword [0x102c1980], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a8]
call fcn.1004e6e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x102c1984
call fcn.1004eb30
add esp, 4
push 0x100cbb10
call fcn.100be7a0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x102c1984]
call eax
mov esi, eax
mov dword [ebp - 0x198], esi
test edi, edi
je 0x1009cee3
test esi, esi
je 0x1009cee3
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009cee3
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1009cec9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009cea0
xor edx, edx
test ecx, ecx
je 0x1009cec9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ceb0
cmp edi, 0x6b98ed8f
je 0x1009cede
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009cee3
mov esi, dword [ebp - 0x198]
jmp 0x1009ce82
mov ecx, dword [ebp - 0x18]
jmp 0x1009cee5
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009cef3.2
jmp dword [eax*4 + 0x1009d474]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009cf8a
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009cf8a
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100d5898]
movaps xmm0, xmm2
movss xmm3, dword [0x100d5890]
andps xmm4, xmm2
xorps xmm0, xmm4
movaps xmm1, xmm2
cmpltss xmm0, xmm3
andps xmm3, xmm0
orps xmm3, xmm4
addss xmm1, xmm3
subss xmm1, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movss xmm2, dword [0x100d5660]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1009cf8a
mov edi, dword [ebp - 0x19c]
xor eax, eax
inc dword [0x102bcac0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x19c], edi
jmp 0x1009cfab
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
jg 0x1009cfa5
mov edi, dword [ebp - 0x19c]
inc dword [0x102bcac0]
mov dword [ebp - 0x19c], edi
jmp 0x1009cfab
mov edi, dword [ebp - 0x19c]
cmp edi, 1
jne 0x1009cfba
test eax, eax
jg 0x1009cfba
inc dword [0x102bcac8]
cmp byte [0x100eef04], 0
mov eax, dword [0x102bc19c]
mov dword [0x102c17d4], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x102c17cc], xmm0
addss xmm0, dword [0x100d5660]
movss dword [0x102c17d0], xmm0
je 0x1009d015
mov ecx, dword [0x102bc194]
push ecx
mov dword [esp], 0
push 0
mov eax, dword [ecx]
push 0x64
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x30]
push str.buttons_arena_switch_press_02.wav
call eax
cmp byte [0x100fc078], 0
je 0x1009d171
movd xmm0, dword [ebp - 0x194]
lea ecx, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x18], 0xff808000
push ecx
mov edx, str.Hit__s_in_the__s_for__i_damage___i_health_remaining__n
lea ecx, [ebp - 0x1cc]
cvttss2si eax, xmm0
mov dword [ebp - 0x198], eax
lea eax, [edi + edi*2]
lea eax, [eax*8 + 0x102bc9d8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1003fb70
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 7
mov edx, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x41000000
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.10035c80
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 8
mov ecx, dword [0x100e8148]
cmp ecx, dword [0x100e814c]
je 0x1009d0d8
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x100e8148], 8
jmp 0x1009d0df
push edx
push ecx
call fcn.10036130
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1a0]
test esi, esi
je 0x1009d114
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1009d10e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1009d10e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x19c]
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x194]
call fcn.1002f460
push 0x100e1590
call fcn.1003ee50
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x1b8]
cmp ecx, 0xf
jbe 0x1009d171
mov edx, dword [ebp - 0x1cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d167
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d167
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100be7ba
add esp, 8
test edi, edi
je 0x1009d3ac
mov edi, dword [0x102bcab0]
mov esi, dword [0x102bcaac]
cmp esi, edi
je 0x1009d1b7
nop dword [eax]
mov edx, dword [0x102bc3b8]
mov eax, dword [0x100e1590]
add edx, 0xffffffc5
mov ecx, dword [esi + 0x18]
xor edx, 0x754feba6
cmp ecx, dword [edx + eax]
jne 0x1009d1b0
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1009d190
mov ecx, dword [0x102bcaa4]
xor esi, esi
mov edx, dword [0x102bcaa8]
movss xmm1, dword [0x100d5894]
add edx, ecx
cmp ecx, edx
je 0x1009d3ac
mov eax, dword [0x102bcaa0]
mov edi, dword [0x102bca9c]
dec eax
mov dword [ebp - 0x198], eax
nop dword [eax]
mov eax, ecx
and eax, dword [ebp - 0x198]
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x31], 0
jne 0x1009d225
mov edi, dword [0x102bc19c]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
call fcn.10027670
comiss xmm1, xmm0
mov edi, dword [0x102bca9c]
jb 0x1009d225
movaps xmm1, xmm0
mov esi, eax
inc ecx
cmp ecx, edx
jne 0x1009d1f0
test esi, esi
je 0x1009d3ac
mov ecx, dword [0x102bc13c]
mov edi, dword [esi + 4]
mov dword [ebp - 0x19c], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1009d3a3
cmp dword [0x100e1590], 0
je 0x1009d3a3
cmp byte [edi + 0x80c], 0
je 0x1009d3a3
mov ecx, dword [0x102bc13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x1009d39f
cmp dword [0x100e1590], 0
je 0x1009d39f
mov ecx, dword [edi]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x198], ecx
mov ecx, edi
call dword [ebp - 0x198]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x1c]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x198], eax
call dword [ebp - 0x198]
mov ecx, dword [0x102bc1ec]
fstp dword [ebp - 0x198]
movss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x1c]
mov eax, dword [ecx]
addss xmm0, dword [0x100e4c48]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x1c], xmm0
call eax
movss xmm1, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
comiss xmm1, dword [0x100d5534]
lea ecx, [ebp - 0x198]
fstp dword [ebp - 0x198]
movss xmm0, dword [ebp - 0x198]
cmovae ecx, eax
movss dword [ebp - 0x194], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x194]
mov dword [ebp - 0x198], 0
cmovae eax, ecx
mov ecx, dword [0x100e1590]
movss xmm1, dword [eax]
mov eax, dword [0x102bc3a0]
add eax, 0xffffffcb
xor eax, 0x754feba0
cmp dword [eax + ecx], 0
jne 0x1009d375
mov eax, dword [0x102bc3b8]
add eax, 0xffffffc5
xor eax, 0x754feba6
movd xmm0, dword [eax + ecx]
mov eax, dword [0x102bc19c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1009d37f
mov eax, dword [0x102bc19c]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x19c]
subss xmm0, dword [eax + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10027670
comiss xmm0, dword [0x100d55d4]
ja 0x1009d3a3
mov al, 1
jmp 0x1009d3a5
xor al, al
mov byte [esi + 0x48], al
mov byte [esi + 0x31], 1
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x1009d3e4
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d3da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d3da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100be7ba
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100be28c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4