Function at 0x10085b26
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100c100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, 0xf
mov dword [ebp - 0x1b4], ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100865f5
cmp dword [0x100c1240], 0
je 0x100865f5
mov eax, dword [0x1010c0c0]
mov edi, dword [ecx + 8]
test al, 1
jne 0x10085a16
or eax, 1
mov dword [0x1010c0c0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
call fcn.10043520
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010c0c4
call fcn.10043990
push 0x100addd0
call fcn.100a35fc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010c0c4]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10085a9b
test esi, esi
je 0x10085a9b
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x10085a9b
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 0x10085a7b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10085a55
xor edx, edx
test ecx, ecx
je 0x10085a7b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10085a62
cmp edi, 0xd791104e
je 0x10085a93
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x10085a9b
mov esi, dword [ebp - 0x18]
jmp 0x10085a37
mov ecx, dword [ebp - 0x1b0]
jmp 0x10085a9d
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100b6824]
dec eax
movss xmm1, dword [0x100b681c]
movss xmm5, dword [0x100b666c]
cmp eax, 6
ja case.0x10085abf.2
jmp dword [eax*4 + 0x10086648]
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 0x10085b2d
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 0x10085b2d
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 0x10085b2d
xor edx, edx
jmp 0x10085b2d
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10106910]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [0x1010c0c0]
mov dword [ebp - 0x14], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10085b91
or ecx, 1
mov dword [0x1010c0c0], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c0]
call fcn.10043520
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010c0c4
call fcn.10043990
push 0x100addd0
call fcn.100a35fc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010c0c4]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10085c1a
test esi, esi
je 0x10085c1a
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x10085c1a
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 0x10085bfa
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10085bd4
xor edx, edx
test ecx, ecx
je 0x10085bfa
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10085be1
cmp edi, 0x11ab48ff
je 0x10085c12
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x10085c1a
mov esi, dword [ebp - 0x18]
jmp 0x10085bb6
mov ecx, dword [ebp - 0x1b0]
jmp 0x10085c1c
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10085c2a.2
jmp dword [eax*4 + 0x10086664]
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 0x10085cad
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 0x10085cad
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b6824]
movaps xmm0, xmm4
movss xmm1, dword [0x100b681c]
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 [0x100b666c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x10085cad
xor edx, edx
jmp 0x10085cad
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10106910]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x100865f2
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x100865f2
mov ecx, dword [0x10106910]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x100865f2
mov ecx, dword [0x10106910]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100865f2
mov eax, dword [ebp - 0x1b4]
mov edi, dword [eax + 8]
mov eax, dword [0x1010c0c0]
test al, 1
jne 0x10085d55
or eax, 1
mov dword [0x1010c0c0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c0]
call fcn.10043520
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010c0c4
call fcn.10043990
push 0x100addd0
call fcn.100a35fc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010c0c4]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x10085de9
test esi, esi
je 0x10085de9
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x10085de9
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 0x10085dc9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10085da0
xor edx, edx
test ecx, ecx
je 0x10085dc9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10085db0
cmp edi, 0x2a7e565d
je 0x10085de1
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x10085de9
mov esi, dword [ebp - 0x14]
jmp 0x10085d80
mov ecx, dword [ebp - 0x1b0]
jmp 0x10085deb
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10085df9.2
jmp dword [eax*4 + 0x10086680]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10085e7e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10085e7e
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b6824]
movaps xmm0, xmm4
movss xmm1, dword [0x100b681c]
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 [0x100b666c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10085e7e
xor eax, eax
mov dword [ebp - 0x1b0], eax
jmp 0x10085e8d
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1b0], eax
cmp eax, 0xa
je 0x100865f2
mov ecx, dword [0x10106914]
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x100865f2
mov ecx, dword [0x10106910]
lea edx, [ebp - 0x1ac]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100865f2
xorps xmm0, xmm0
mov dword [ebp - 0x1bc], 0
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1b8], 0
movups xmmword [ebp - 0x1cc], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085ef0
sub ecx, edx
lea eax, [ebp - 0x19c]
push ecx
push eax
lea ecx, [ebp - 0x1cc]
call fcn.10024df0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1cc]
mov ecx, 0x18
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x1bc], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
cmovb ecx, dword [ebp - 0x1bc]
cmp dword [ebp - 0x1b8], 0x10
push ecx
cmovae eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x28], 0
call fcn.10024df0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x10085f89
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10085f7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086491
push ecx
push edx
call fcn.100a3611
add esp, 8
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1b8]
movq qword [ebp - 0x44], xmm0
cmp ecx, 0x10
jb 0x10085fd9
mov edx, dword [ebp - 0x1cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10085fcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086491
push ecx
push edx
call fcn.100a3611
add esp, 8
mov eax, dword [ebp - 0x1b4]
mov edi, dword [eax + 8]
mov eax, dword [0x1010c0c0]
test al, 1
jne 0x10086029
or eax, 1
mov dword [0x1010c0c0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.10043520
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010c0c4
call fcn.10043990
push 0x100addd0
call fcn.100a35fc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010c0c4]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x100860a2
test esi, esi
je 0x100860a2
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100860a2
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 0x1008608b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086065
xor edx, edx
test ecx, ecx
je 0x1008608b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086072
cmp edi, 0xa0d9523e
je 0x1008609d
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100860a2
mov esi, dword [ebp - 0x14]
jmp 0x10086047
mov ecx, dword [ebp - 0x18]
jmp 0x100860a4
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100860b2.2
jmp dword [eax*4 + 0x1008669c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10086131
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10086131
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b6824]
movaps xmm0, xmm4
movss xmm1, dword [0x100b681c]
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 [0x100b666c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10086131
xor eax, eax
jmp 0x10086131
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x1b4]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1010c0c0]
movss dword [ebp - 0x20], xmm0
test al, 1
jne 0x1008618d
or eax, 1
mov dword [0x1010c0c0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c0]
call fcn.10043520
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010c0c4
call fcn.10043990
push 0x100addd0
call fcn.100a35fc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010c0c4]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x10086210
test esi, esi
je 0x10086210
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086210
nop dword [eax + 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 0x100861f9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100861d0
xor edx, edx
test ecx, ecx
je 0x100861f9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100861e0
cmp edi, 0x6b98ed8f
je 0x1008620b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086210
mov esi, dword [ebp - 0x14]
jmp 0x100861b0
mov ecx, dword [ebp - 0x18]
jmp 0x10086212
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086220.2
jmp dword [eax*4 + 0x100866b8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1008629f
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1008629f
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100b6824]
movaps xmm0, xmm2
movss xmm3, dword [0x100b681c]
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 [0x100b666c]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1008629f
xor eax, eax
jmp 0x1008629f
mov eax, dword [ecx + 0xc]
mov ecx, dword [0x10106b6c]
mov esi, dword [ebp - 0x1b0]
add ecx, 0xffffffc2
mov dword [ebp - 0x24], eax
xor ecx, 0xe7c70455
mov eax, dword [0x100c1240]
cmp esi, 1
movd xmm0, dword [ecx + eax]
mov eax, dword [0x1010696c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
sete byte [0x101075e0]
cmp byte [0x100c61f4], 0
mov dword [0x1010bc3c], 0x3f800000
movss dword [ebp - 0x1b4], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [0x1010bc34], xmm0
addss xmm0, dword [0x100b666c]
movss dword [0x1010bc38], xmm0
je 0x10086336
mov ecx, dword [0x10106964]
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
push 0
push dword [0x100d23ac]
push dword [0x100d23a8]
call fcn.100a2fb0
cmp eax, dword [0x100d23ac]
je 0x10086534
movss xmm0, dword [0x100c1ca8]
comiss xmm0, dword [ebp - 0x20]
jb 0x10086497
cmp byte [0x10104ec0], 0
jne 0x10086497
cmp byte [0x100c125c], 0
je 0x10086497
lea ecx, [ebp - 0x24]
mov edx, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea eax, [esi + esi*2]
lea eax, [eax*8 + 0x101074d8]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10048f10
mov byte [ebp - 4], 7
mov esi, dword [0x100b1954]
push 0x34
call fcn.100a31b2
add esp, 0x14
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100b0950
lea eax, [ebp - 0x3c]
push eax
call fcn.10029790
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 0x41000000
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.10029620
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x10086444
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10086444
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10086444
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.10029790
push 0x100c1240
call fcn.100321f0
mov ecx, dword [ebp - 0x28]
add esp, 0x1c
cmp ecx, 0x10
jb 0x10086534
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008652a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008652a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x24]
mov edx, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea eax, [esi + esi*2]
lea eax, [eax*8 + 0x101074d8]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10048f10
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x3c]
mov eax, dword [0x100b1944]
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x40a00000
push eax
call fcn.10029a40
add esp, 0x18
push eax
mov byte [ebp - 4], 0xb
call fcn.10029620
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x1b8]
test edi, edi
je 0x10086444
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10086444
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10086444
jmp 0x1008643d
push ecx
push edx
call fcn.100a3611
add esp, 8
cmp dword [ebp - 0x1b0], 0
je 0x100865f2
mov esi, dword [0x101075ac]
mov edi, dword [0x101075b0]
cmp esi, edi
je 0x10086578
mov edx, dword [0x10106b6c]
mov eax, dword [0x100c1240]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0xe7c70455
cmp ecx, dword [edx + eax]
jne 0x10086571
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10086551
mov ecx, dword [0x101075a4]
xor edx, edx
mov esi, dword [0x101075a8]
movss xmm2, dword [0x100b6820]
add esi, ecx
mov dword [ebp - 0x14], esi
cmp ecx, esi
je 0x100865f2
mov edi, dword [0x101075a0]
movss xmm3, dword [ebp - 0x1b4]
mov esi, dword [0x1010759c]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x14]
cmp byte [eax + 0x31], 0
jne 0x100865e5
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm1, dword [eax + 8]
subss xmm0, xmm1
call fcn.1001cc90
comiss xmm0, dword [0x100b666c]
ja 0x100865e5
comiss xmm2, xmm0
jbe 0x100865e5
movaps xmm2, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x100865a5
test edx, edx
je 0x100865f2
mov byte [edx + 0x31], 1
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10086628
mov edx, dword [ebp - 0x54]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008661e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086491
push ecx
push edx
call fcn.100a3611
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a3196
mov esp, ebp
pop ebp
ret 4