Function at 0x10085daa
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 0x100aeb62
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x100c3040]
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 - 0x18], 0
mov eax, 0xf
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x254], 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 0x10086adb
cmp dword [0x101f81a4], 0
je 0x10086adb
mov eax, dword [0x1021485c]
mov edi, dword [ecx + 8]
test al, 1
jne 0x10085c94
or eax, 1
mov dword [0x1021485c], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.10040a40
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10214860
call fcn.10040eb0
add esp, 4
push 0x100b03a0
call fcn.100a63df
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10214860]
call eax
mov esi, eax
mov dword [ebp - 0x244], esi
test edi, edi
je 0x10085d1f
test esi, esi
je 0x10085d1f
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x10085d1f
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 0x10085cfc
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10085cd6
xor edx, edx
test ecx, ecx
je 0x10085cfc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10085ce3
cmp edi, 0xd791104e
je 0x10085d17
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x10085d1f
mov esi, dword [ebp - 0x244]
jmp 0x10085cb8
mov ecx, dword [ebp - 0x24c]
jmp 0x10085d21
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100b865c]
dec eax
movss xmm1, dword [0x100b8650]
movss xmm5, dword [0x100b84fc]
cmp eax, 6
ja case.0x10085d43.2
jmp dword [eax*4 + 0x10086b30]
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 0x10085db1
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 0x10085db1
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 0x10085db1
xor edx, edx
jmp 0x10085db1
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1020e930]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1020e934]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov dword [ebp - 0x244], eax
test eax, eax
je 0x10086ad8
mov edi, dword [ebp - 0x254]
mov ecx, dword [0x1021485c]
mov edi, dword [edi + 8]
test cl, 1
jne 0x10085e30
or ecx, 1
mov dword [0x1021485c], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10040a40
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10214860
call fcn.10040eb0
add esp, 4
push 0x100b03a0
call fcn.100a63df
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10214860]
call eax
mov esi, eax
mov dword [ebp - 0x258], esi
test edi, edi
je 0x10085ecc
test esi, esi
je 0x10085ecc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x10085ecc
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 0x10085ea9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10085e80
xor edx, edx
test ecx, ecx
je 0x10085ea9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10085e90
cmp edi, 0x11ab48ff
je 0x10085ec4
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x10085ecc
mov esi, dword [ebp - 0x258]
jmp 0x10085e60
mov ecx, dword [ebp - 0x24c]
jmp 0x10085ece
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10085edc.2
jmp dword [eax*4 + 0x10086b4c]
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 0x10085f5f
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 0x10085f5f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b865c]
movaps xmm0, xmm4
movss xmm1, dword [0x100b8650]
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 [0x100b84fc]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x10085f5f
xor edx, edx
jmp 0x10085f5f
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1020e930]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1020e934]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x10086ad8
mov esi, dword [ebp - 0x244]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x28]
lea ecx, [esi + 8]
call edx
cmp eax, 1
jl 0x10086ad8
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10086ad8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x24c], esi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 1
jl 0x10086ad8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10086ad8
mov eax, dword [0x101f81a4]
cmp dword [ebp - 0x244], eax
jne 0x10086ad8
cmp edi, eax
je 0x10086ad8
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [0x1021485c]
test al, 1
jne 0x10086052
or eax, 1
mov dword [0x1021485c], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10040a40
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10214860
call fcn.10040eb0
add esp, 4
push 0x100b03a0
call fcn.100a63df
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10214860]
call eax
mov edi, eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x258], edi
test eax, eax
je 0x10086101
test edi, edi
je 0x10086101
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x10086101
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov edi, eax
test edi, edi
je 0x100860de
mov eax, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x100860a6
xor edx, edx
test ecx, ecx
je 0x100860de
mov esi, eax
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100860b5
mov dword [ebp - 0x248], esi
cmp dword [ebp - 0x248], 0x2a7e565d
mov esi, dword [ebp - 0x24c]
je 0x100860f9
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x10086101
mov edi, dword [ebp - 0x258]
jmp 0x10086088
mov ecx, dword [ebp - 0x250]
jmp 0x10086103
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086111.2
jmp dword [eax*4 + 0x10086b68]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10086198
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10086198
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b865c]
movaps xmm0, xmm4
movss xmm1, dword [0x100b8650]
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 [0x100b84fc]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10086198
mov dword [ebp - 0x250], 0
jmp 0x100861a7
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x250], eax
cmp eax, 0xa
je 0x10086ad8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov edi, dword [0x1020e930]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
lea ecx, [ebp - 0x240]
push ecx
push eax
mov ecx, edi
call edx
test al, al
je 0x10086ad8
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]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100861f0
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10026170
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
mov ecx, 0x18
mov dword [ebp - 0x25c], 0
cmp dword [ebp - 0x24], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x26c], xmm0
cmovb ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0xf
push ecx
cmova eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x26c]
push eax
mov dword [ebp - 0x258], 0
call fcn.10026170
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10086283
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086b00
push ecx
push edx
call fcn.100a63f4
add esp, 8
movups xmm0, xmmword [ebp - 0x26c]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x25c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
movq qword [ebp - 0x40], xmm0
cmp ecx, 0xf
jbe 0x100862d3
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100862c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086b00
push ecx
push edx
call fcn.100a63f4
add esp, 8
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [0x1021485c]
test al, 1
jne 0x10086329
or eax, 1
mov dword [0x1021485c], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10040a40
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10214860
call fcn.10040eb0
add esp, 4
push 0x100b03a0
call fcn.100a63df
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10214860]
call eax
mov edi, eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x100863d9
test edi, edi
je 0x100863d9
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x100863d9
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov edi, eax
test edi, edi
je 0x100863b9
mov eax, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10086380
xor edx, edx
test ecx, ecx
je 0x100863b9
mov esi, eax
nop
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10086390
mov dword [ebp - 0x248], esi
cmp dword [ebp - 0x248], 0xa0d9523e
mov esi, dword [ebp - 0x24c]
je 0x100863d1
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x100863d9
mov edi, dword [ebp - 0x1c]
jmp 0x10086360
mov ecx, dword [ebp - 0x258]
jmp 0x100863db
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100863e9.2
jmp dword [eax*4 + 0x10086b84]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10086468
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10086468
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b865c]
movaps xmm0, xmm4
movss xmm1, dword [0x100b8650]
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 [0x100b84fc]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10086468
xor eax, eax
jmp 0x10086468
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1021485c]
test al, 1
jne 0x100864c1
or eax, 1
mov dword [0x1021485c], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10040a40
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10214860
call fcn.10040eb0
add esp, 4
push 0x100b03a0
call fcn.100a63df
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10214860]
call eax
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x10086569
test edi, edi
je 0x10086569
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10086569
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov edi, eax
test edi, edi
je 0x10086549
mov eax, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10086510
xor edx, edx
test ecx, ecx
je 0x10086549
mov esi, eax
nop
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10086520
mov dword [ebp - 0x258], esi
cmp dword [ebp - 0x258], 0x6b98ed8f
mov esi, dword [ebp - 0x24c]
je 0x10086561
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10086569
mov edi, dword [ebp - 0x18]
jmp 0x100864f0
mov ecx, dword [ebp - 0x244]
jmp 0x1008656b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086575.2
jmp dword [eax*4 + 0x10086ba0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100865f4
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100865f4
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100b865c]
movaps xmm0, xmm2
movss xmm3, dword [0x100b8650]
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 [0x100b84fc]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x100865f4
xor eax, eax
jmp 0x100865f4
mov eax, dword [ecx + 0xc]
mov ecx, dword [0x1020e98c]
mov dword [ebp - 0x38], eax
mov eax, dword [0x1020e994]
mov dword [0x10214710], 0x3f800000
push ecx
mov dword [esp], 0
movss xmm0, dword [eax + 0x10]
movss dword [0x10214708], xmm0
addss xmm0, dword [0x100b84fc]
push 0
push 0x64
push ecx
mov dword [esp], 0x3f800000
movss dword [0x1021470c], xmm0
mov eax, dword [ecx]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [eax + 0x30]
call eax
cmp dword [ebp - 0x250], 0
je 0x10086ad8
mov eax, dword [0x1020f724]
mov edi, dword [0x1020f720]
cmp edi, eax
je 0x1008669d
mov esi, eax
nop word [eax + eax]
mov edx, dword [0x1020ebe0]
mov eax, dword [0x101f81a4]
add edx, 0xffffffb6
mov ecx, dword [edi + 0x18]
xor edx, 0x5a3701c6
cmp ecx, dword [edx + eax]
jne 0x10086690
mov byte [edi + 0x1d], 1
add edi, 0x20
cmp edi, esi
jne 0x10086670
mov esi, dword [ebp - 0x24c]
movd xmm0, dword [ebp - 0x248]
mov edi, dword [ebp - 0x250]
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x38]
jl 0x100866c5
cmp edi, 1
jne 0x100866c5
inc dword [0x1020f708]
push 1
push dword [0x1020a734]
push dword [0x1020a730]
call fcn.100a5da0
cmp eax, dword [0x1020a734]
je 0x100869cb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x244], eax
lea eax, [edi + edi*2]
lea eax, [eax*8 + 0x1020f648]
push 0x98
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x100b2774
lea ecx, [ebp - 0x98]
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], 7
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x18], 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], 8
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100b2770
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], 0x100b26f8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x2a4], eax
mov ecx, 4
mov dword [ebp - 0x2a0], 4
lea eax, [ebp - 0x294]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100867c5
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x298], 0x10032af0
push dword [ebp - 0x2a4]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1c]
mov edx, str.Hit__s_in_the__s_for__i_damage___i_health_remaining__n
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x294], fcn.10026e00
mov dword [ebp - 0x28c], 0x10032af0
mov dword [ebp - 0x288], fcn.10026e00
mov dword [ebp - 0x280], 0x10032b10
mov dword [ebp - 0x27c], 0x10032b30
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 0x10032b10
mov dword [ebp - 0x270], 0x10032b30
call fcn.10027920
add esp, 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xe4]
push eax
call fcn.10029f70
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100b2770
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.100257e0
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_]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x34]
mov eax, dword [0x100b34b8]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
call fcn.1002a180
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x1020eb28]
cmp ecx, dword [0x1020eb2c]
je 0x1008693e
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 [0x1020eb28], 8
jmp 0x10086945
push edx
push ecx
call fcn.1002a6d0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086976
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10086976
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10086976
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10029da0
push 0x101f81a0
call fcn.100313a0
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x100869cb
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100869c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100869c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a63f4
add esp, 8
mov ecx, dword [0x1020f71c]
test ecx, ecx
je 0x10086ad8
add ecx, dword [0x1020f718]
mov eax, dword [0x1020f70c]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x100869f5
mov eax, dword [eax]
mov dword [ebp - 0x244], eax
jmp 0x100869ff
mov dword [ebp - 0x244], 0
mov eax, dword [0x1020f718]
mov edx, eax
cmp eax, ecx
je 0x10086a5f
mov eax, dword [ebp - 0x244]
mov eax, dword [eax + 8]
dec eax
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov ecx, dword [ebp - 0x244]
mov eax, edx
and eax, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + eax*4]
mov esi, dword [0x1020e9a8]
cmp byte [eax + 0x3c], 0
jne 0x10086a4f
mov eax, dword [eax + 0x60]
test eax, eax
je 0x10086a4f
cmp eax, dword [esi + 0x16c]
je 0x10086a54
inc edx
cmp edx, ecx
jne 0x10086a20
mov esi, dword [ebp - 0x24c]
mov eax, dword [0x1020f718]
add eax, dword [0x1020f71c]
cmp edx, eax
je 0x10086ad8
mov eax, dword [0x1020f70c]
test eax, eax
je 0x10086a76
mov eax, dword [eax]
jmp 0x10086a78
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x244], eax
test eax, eax
je 0x10086ad8
cmp dword [eax + 0xc], 0
je 0x10086aaa
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [ebp - 0x244]
cmp dword [edx + 0x44], eax
jne 0x10086ad8
mov eax, edx
mov ecx, dword [ebp - 0x254]
mov dword [eax + 0x68], edi
push 0
push str.dmg_health
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [ebp - 0x244]
mov dword [edx + 0x6c], eax
mov eax, dword [0x1020e9a8]
mov eax, dword [eax + 0x16c]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x10086b10
mov edx, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10086b06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10086b06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a63f4
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.100a5f76
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4