Function at 0x1009c6b0
Capabilities:
Encode data using xor
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 0x100ccb32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x100e4040]
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 dword [ebp - 0x244], 0
mov eax, 0xf
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1009d85a
cmp dword [0x101d00dc], 0
je 0x1009d85a
mov eax, dword [0x101d6d20]
mov edi, dword [ecx + 8]
test al, 1
jne 0x1009c784
or eax, 1
mov dword [0x101d6d20], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1004cdb0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101d6d24
call fcn.1004d200
add esp, 4
push 0x100ce4a0
call fcn.100c2572
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101d6d24]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x1009c80f
test esi, esi
je 0x1009c80f
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009c80f
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 0x1009c7ec
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009c7c6
xor edx, edx
test ecx, ecx
je 0x1009c7ec
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009c7d3
cmp edi, 0xd791104e
je 0x1009c807
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009c80f
mov esi, dword [ebp - 0x248]
jmp 0x1009c7a8
mov ecx, dword [ebp - 0x244]
jmp 0x1009c811
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100d8408]
dec eax
movss xmm1, dword [0x100d8400]
movss xmm5, dword [0x100d81dc]
cmp eax, 6
ja case.0x1009c833.2
jmp dword [eax*4 + 0x1009d8b0]
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 0x1009c8a1
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 0x1009c8a1
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 0x1009c8a1
xor edx, edx
jmp 0x1009c8a1
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101c9374]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x24c]
mov ecx, dword [0x101d6d20]
mov dword [ebp - 0x1c], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1009c905
or ecx, 1
mov dword [0x101d6d20], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1004cdb0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101d6d24
call fcn.1004d200
add esp, 4
push 0x100ce4a0
call fcn.100c2572
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101d6d24]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x1009c99c
test esi, esi
je 0x1009c99c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009c99c
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 0x1009c979
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009c950
xor edx, edx
test ecx, ecx
je 0x1009c979
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009c960
cmp edi, 0x11ab48ff
je 0x1009c994
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009c99c
mov esi, dword [ebp - 0x248]
jmp 0x1009c931
mov ecx, dword [ebp - 0x244]
jmp 0x1009c99e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009c9ac.2
jmp dword [eax*4 + 0x1009d8cc]
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 0x1009ca2f
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 0x1009ca2f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d8408]
movaps xmm0, xmm4
movss xmm1, dword [0x100d8400]
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 [0x100d81dc]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1009ca2f
xor edx, edx
jmp 0x1009ca2f
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101c9374]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1009d857
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1009d857
mov ecx, dword [0x101c9374]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1009d857
mov ecx, dword [0x101c9374]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1009d857
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x101d6d20]
test al, 1
jne 0x1009cad7
or eax, 1
mov dword [0x101d6d20], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1004cdb0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101d6d24
call fcn.1004d200
add esp, 4
push 0x100ce4a0
call fcn.100c2572
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101d6d24]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x1009cb5c
test esi, esi
je 0x1009cb5c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009cb5c
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 0x1009cb3c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009cb16
xor edx, edx
test ecx, ecx
je 0x1009cb3c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009cb23
cmp edi, 0x2a7e565d
je 0x1009cb54
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009cb5c
mov esi, dword [ebp - 0x1c]
jmp 0x1009caf8
mov ecx, dword [ebp - 0x244]
jmp 0x1009cb5e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009cb6c.2
jmp dword [eax*4 + 0x1009d8e8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov esi, eax
jmp 0x1009cc00
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x248], eax
mov esi, eax
jmp 0x1009cc06
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d8408]
movaps xmm0, xmm4
movss xmm1, dword [0x100d8400]
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 [0x100d81dc]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1009cc00
mov dword [ebp - 0x248], 0
jmp 0x1009cc0f
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x248], esi
cmp esi, 0xa
je 0x1009d857
mov ecx, dword [0x101c9378]
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1009d857
mov ecx, dword [0x101c9374]
lea edx, [ebp - 0x240]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1009d857
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009cc63
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1002f8f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
mov ecx, 0x18
mov dword [ebp - 0x258], 0
cmp dword [ebp - 0x24], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x268], xmm0
cmovb ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0xf
push ecx
cmova eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x268]
push eax
mov dword [ebp - 0x254], 0
call fcn.1002f8f0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x50]
call fcn.100451b0
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x1009cd0b
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009cd01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d87f
push ecx
push edx
call fcn.100c258c
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1009cd43
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009cd39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d87f
push ecx
push edx
call fcn.100c258c
add esp, 8
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x101d6d20]
test al, 1
jne 0x1009cd93
or eax, 1
mov dword [0x101d6d20], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1004cdb0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101d6d24
call fcn.1004d200
add esp, 4
push 0x100ce4a0
call fcn.100c2572
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101d6d24]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1009ce29
test esi, esi
je 0x1009ce29
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009ce29
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 0x1009ce09
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009cde0
xor edx, edx
test ecx, ecx
je 0x1009ce09
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009cdf0
cmp edi, 0xa0d9523e
je 0x1009ce21
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1009ce29
mov esi, dword [ebp - 0x18]
jmp 0x1009cdc0
mov ecx, dword [ebp - 0x244]
jmp 0x1009ce2b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009ce39.2
jmp dword [eax*4 + 0x1009d904]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009ceb8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009ceb8
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d8408]
movaps xmm0, xmm4
movss xmm1, dword [0x100d8400]
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 [0x100d81dc]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1009ceb8
xor eax, eax
jmp 0x1009ceb8
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x101d6d20]
test al, 1
jne 0x1009cf0e
or eax, 1
mov dword [0x101d6d20], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.1004cdb0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101d6d24
call fcn.1004d200
add esp, 4
push 0x100ce4a0
call fcn.100c2572
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101d6d24]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1009cf9b
test esi, esi
je 0x1009cf9b
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x1009cf9b
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 0x1009cf7b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009cf55
xor edx, edx
test ecx, ecx
je 0x1009cf7b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009cf62
cmp edi, 0x6b98ed8f
je 0x1009cf93
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x1009cf9b
mov esi, dword [ebp - 0x18]
jmp 0x1009cf37
mov ecx, dword [ebp - 0x24c]
jmp 0x1009cf9d
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009cfab.2
jmp dword [eax*4 + 0x1009d920]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009d02a
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009d02a
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100d8408]
movaps xmm0, xmm2
movss xmm3, dword [0x100d8400]
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 [0x100d81dc]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1009d032
xor eax, eax
jmp 0x1009d02a
mov eax, dword [ecx + 0xc]
movss xmm2, dword [0x100d81dc]
mov edi, dword [ebp - 0x248]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x38], eax
cmp edi, 1
jne 0x1009d065
movd xmm0, esi
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x100d837c]
jb 0x1009d05c
inc dword [0x101ca1f0]
mov byte [0x101ca1f4], 1
jmp 0x1009d06c
mov byte [0x101ca1f4], 0
cmp byte [0x100ea04c], 0
mov eax, dword [0x101c93d8]
mov dword [0x101ce7c4], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x101ce7bc], xmm0
addss xmm0, xmm2
movss dword [0x101ce7c0], xmm0
xorps xmm0, xmm0
je 0x1009d0ed
cmp byte [0x100ea0d4], 0
jne 0x1009d0d1
mov ecx, dword [0x101c93d0]
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
jmp 0x1009d0e0
push 1
push 0
push str.C:_soft1hit.wav
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0xffffffffffffffff
push 0
call dword [sym.imp.WINMM.dll_waveOutSetVolume]
xorps xmm0, xmm0
cmp byte [0x100f78f0], 0
je 0x1009d646
movd xmm1, esi
cvtdq2ps xmm1, xmm1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1009d646
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cvttss2si ecx, xmm1
lea eax, [edi + edi*2]
mov byte [ebp - 4], 7
push 0x98
lea esi, [eax*8 + 0x101ca108]
lea eax, [ebp - 0xe8]
push 0
push eax
mov dword [ebp - 0x18], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x100d1fb8
cmp dword [ebp - 0x38], 0
lea ecx, [ebp - 0x98]
jg 0x1009d34e
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x244], 5
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100d1fb4
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe4], 0x100d1ed4
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x294], eax
mov ecx, 3
mov dword [ebp - 0x290], 3
lea eax, [ebp - 0x284]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x1009d211
push dword [ebp - 0x290]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x288], 0x10054fa0
push dword [ebp - 0x294]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x284], fcn.10035120
mov edx, str.hit__s_in_the__s_for__i__dead__n
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], 0x10054fa0
mov dword [ebp - 0x278], fcn.10035120
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 0x1003ee70
mov dword [ebp - 0x26c], 0x1003ee90
call fcn.10032f10
add esp, 8
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0xe4]
push eax
call fcn.10034830
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100d1fb4
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.1002ec80
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x34]
call fcn.100451b0
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x1009d54e
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d544
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d544
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x244], 0x21
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100d1fb4
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe4], 0x100d1ed4
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x2a0], eax
mov ecx, 4
mov dword [ebp - 0x29c], 4
lea eax, [ebp - 0x290]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x1009d3f6
push dword [ebp - 0x29c]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x294], 0x10054fa0
push dword [ebp - 0x2a0]
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x290], fcn.10035120
mov dword [ebp - 0x280], eax
mov edx, str.hit__s_in_the__s_for__i___i_health_remaining__n
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x288], 0x10054fa0
mov dword [ebp - 0x284], fcn.10035120
mov dword [ebp - 0x27c], 0x1003ee70
mov dword [ebp - 0x278], 0x1003ee90
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 0x1003ee70
mov dword [ebp - 0x26c], 0x1003ee90
call fcn.10032f10
add esp, 8
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0xe4]
push eax
call fcn.10034830
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100d1fb4
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.1002ec80
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x34]
call fcn.100451b0
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x1009d54e
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d544
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d544
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c258c
add esp, 8
mov eax, dword [0x100d16ec]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x250]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x41000000
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10034910
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [0x100e42d8]
cmp ecx, dword [0x100e42dc]
je 0x1009d5b7
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 [0x100e42d8], 8
jmp 0x1009d5be
push edx
push ecx
call fcn.10034ef0
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x24c]
test esi, esi
je 0x1009d5f3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1009d5ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1009d5ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x248]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1002edf0
push 0x101ce8d0
call fcn.1003d1f0
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1009d646
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d63c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d87f
push ecx
push edx
call fcn.100c258c
add esp, 8
test edi, edi
je 0x1009d857
mov edi, dword [0x101ca1e0]
mov esi, dword [0x101ca1dc]
cmp esi, edi
je 0x1009d687
nop
mov edx, dword [0x101c9600]
mov eax, dword [0x101d00dc]
add edx, 0xffffffc3
mov ecx, dword [esi + 0x18]
xor edx, 0xe0e5812f
cmp ecx, dword [edx + eax]
jne 0x1009d680
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1009d660
mov ecx, dword [0x101ca1d4]
xor esi, esi
mov edx, dword [0x101ca1d8]
movss xmm1, dword [0x100d8404]
add edx, ecx
cmp ecx, edx
je 0x1009d857
mov eax, dword [0x101ca1d0]
mov edi, dword [0x101ca1cc]
dec eax
mov dword [ebp - 0x18], eax
mov eax, ecx
and eax, dword [ebp - 0x18]
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x31], 0
jne 0x1009d6e8
mov edi, dword [0x101c93d8]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
call fcn.100267a0
comiss xmm1, xmm0
mov edi, dword [0x101ca1cc]
jb 0x1009d6e8
movaps xmm1, xmm0
mov esi, eax
inc ecx
cmp ecx, edx
jne 0x1009d6b6
test esi, esi
je 0x1009d857
mov ecx, dword [0x101c9374]
mov edi, dword [esi + 4]
mov dword [ebp - 0x248], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1009d84e
cmp dword [0x101d00dc], 0
je 0x1009d84e
cmp byte [edi + 0x424], 0
je 0x1009d84e
mov ecx, dword [0x101c9374]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x1009d84a
cmp dword [0x101d00dc], 0
je 0x1009d84a
mov ecx, dword [edi]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x18], ecx
mov ecx, edi
call dword [ebp - 0x18]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x1c]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x101c9430]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [ebp - 0x1c]
mov eax, dword [ecx]
addss xmm0, dword [0x101d37c8]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x24c], xmm0
movss dword [ebp - 0x1c], xmm0
call eax
movss xmm1, dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
comiss xmm1, dword [0x100d8080]
lea ecx, [ebp - 0x18]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
cmovae ecx, eax
movss dword [ebp - 0x244], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x244]
mov dword [ebp - 0x18], 0
cmovae eax, ecx
mov ecx, dword [0x101d00dc]
movss xmm1, dword [eax]
mov eax, dword [0x101c95e4]
add eax, 0xffffffca
xor eax, 0xe0e58128
cmp dword [eax + ecx], 0
jne 0x1009d820
mov eax, dword [0x101c9600]
add eax, 0xffffffc3
xor eax, 0xe0e5812f
movd xmm0, dword [eax + ecx]
mov eax, dword [0x101c93d8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1009d82a
mov eax, dword [0x101c93d8]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x248]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.100267a0
comiss xmm0, dword [0x100d8138]
ja 0x1009d84e
mov al, 1
jmp 0x1009d850
xor al, al
mov byte [esi + 0x48], al
mov byte [esi + 0x31], 1
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x1009d88f
mov edx, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d885
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d885
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c258c
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.100c205e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4