Function at 0x100807d9
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 0x100a45b2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x100b700c]
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 0x10081160
cmp dword [0x101ec13c], 0
je 0x10081160
mov eax, dword [0x10208764]
mov edi, dword [ecx + 8]
test al, 1
jne 0x100802e4
or eax, 1
mov dword [0x10208764], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.1003bd00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10208768
call fcn.1003c170
add esp, 4
push 0x100a5b40
call fcn.1009bde6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10208768]
call eax
mov esi, eax
mov dword [ebp - 0x244], esi
test edi, edi
je 0x1008036f
test esi, esi
je 0x1008036f
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x1008036f
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 0x1008034c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10080326
xor edx, edx
test ecx, ecx
je 0x1008034c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10080333
cmp edi, 0xd791104e
je 0x10080367
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x1008036f
mov esi, dword [ebp - 0x244]
jmp 0x10080308
mov ecx, dword [ebp - 0x250]
jmp 0x10080371
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100ad560]
dec eax
movss xmm1, dword [0x100ad554]
movss xmm5, dword [0x100ad3f4]
cmp eax, 6
ja case.0x10080393.2
jmp dword [eax*4 + 0x100811b8]
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 0x10080401
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 0x10080401
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 0x10080401
xor edx, edx
jmp 0x10080401
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10202898]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1020289c]
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 0x1008115d
mov edi, dword [ebp - 0x254]
mov ecx, dword [0x10208764]
mov edi, dword [edi + 8]
test cl, 1
jne 0x10080480
or ecx, 1
mov dword [0x10208764], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1003bd00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10208768
call fcn.1003c170
add esp, 4
push 0x100a5b40
call fcn.1009bde6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10208768]
call eax
mov esi, eax
mov dword [ebp - 0x258], esi
test edi, edi
je 0x1008051c
test esi, esi
je 0x1008051c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x1008051c
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 0x100804f9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100804d0
xor edx, edx
test ecx, ecx
je 0x100804f9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100804e0
cmp edi, 0x11ab48ff
je 0x10080514
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x1008051c
mov esi, dword [ebp - 0x258]
jmp 0x100804b0
mov ecx, dword [ebp - 0x250]
jmp 0x1008051e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008052c.2
jmp dword [eax*4 + 0x100811d4]
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 0x100805af
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 0x100805af
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100ad560]
movaps xmm0, xmm4
movss xmm1, dword [0x100ad554]
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 [0x100ad3f4]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x100805af
xor edx, edx
jmp 0x100805af
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10202898]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1020289c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x1008115d
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 0x1008115d
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x1008115d
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x250], esi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 1
jl 0x1008115d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x1008115d
mov eax, dword [0x101ec13c]
cmp dword [ebp - 0x244], eax
jne 0x1008115d
cmp edi, eax
je 0x1008115d
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [0x10208764]
test al, 1
jne 0x100806a2
or eax, 1
mov dword [0x10208764], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1003bd00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10208768
call fcn.1003c170
add esp, 4
push 0x100a5b40
call fcn.1009bde6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10208768]
call eax
mov edi, eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x258], edi
test eax, eax
je 0x10080751
test edi, edi
je 0x10080751
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x10080751
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 0x1008072e
mov eax, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x100806f6
xor edx, edx
test ecx, ecx
je 0x1008072e
mov esi, eax
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10080705
mov dword [ebp - 0x24c], esi
cmp dword [ebp - 0x24c], 0x2a7e565d
mov esi, dword [ebp - 0x250]
je 0x10080749
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x10080751
mov edi, dword [ebp - 0x258]
jmp 0x100806d8
mov ecx, dword [ebp - 0x248]
jmp 0x10080753
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10080761.2
jmp dword [eax*4 + 0x100811f0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100807e8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100807e8
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100ad560]
movaps xmm0, xmm4
movss xmm1, dword [0x100ad554]
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 [0x100ad3f4]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x100807e8
mov dword [ebp - 0x248], 0
jmp 0x100807f7
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x248], eax
cmp eax, 0xa
je 0x1008115d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov edi, dword [0x10202898]
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 0x1008115d
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 0x10080840
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100214a0
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], 0x10
push ecx
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x26c]
push eax
mov dword [ebp - 0x258], 0
call fcn.100214a0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x100808d3
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100808c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081185
push ecx
push edx
call fcn.1009bdfb
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, 0x10
jb 0x10080923
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10080919
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081185
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [0x10208764]
test al, 1
jne 0x10080979
or eax, 1
mov dword [0x10208764], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1003bd00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10208768
call fcn.1003c170
add esp, 4
push 0x100a5b40
call fcn.1009bde6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10208768]
call eax
mov edi, eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x10080a29
test edi, edi
je 0x10080a29
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x10080a29
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 0x10080a09
mov eax, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100809d0
xor edx, edx
test ecx, ecx
je 0x10080a09
mov esi, eax
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100809e0
mov dword [ebp - 0x24c], esi
cmp dword [ebp - 0x24c], 0xa0d9523e
mov esi, dword [ebp - 0x250]
je 0x10080a21
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x10080a29
mov edi, dword [ebp - 0x1c]
jmp 0x100809b0
mov ecx, dword [ebp - 0x258]
jmp 0x10080a2b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10080a39.2
jmp dword [eax*4 + 0x1008120c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10080ab8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10080ab8
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100ad560]
movaps xmm0, xmm4
movss xmm1, dword [0x100ad554]
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 [0x100ad3f4]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10080ab8
xor eax, eax
jmp 0x10080ab8
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10208764]
test al, 1
jne 0x10080b11
or eax, 1
mov dword [0x10208764], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.1003bd00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10208768
call fcn.1003c170
add esp, 4
push 0x100a5b40
call fcn.1009bde6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10208768]
call eax
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x10080bb9
test edi, edi
je 0x10080bb9
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10080bb9
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 0x10080b99
mov eax, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10080b60
xor edx, edx
test ecx, ecx
je 0x10080b99
mov esi, eax
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10080b70
mov dword [ebp - 0x258], esi
cmp dword [ebp - 0x258], 0x6b98ed8f
mov esi, dword [ebp - 0x250]
je 0x10080bb1
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10080bb9
mov edi, dword [ebp - 0x18]
jmp 0x10080b40
mov ecx, dword [ebp - 0x244]
jmp 0x10080bbb
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10080bc5.2
jmp dword [eax*4 + 0x10081228]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10080c44
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10080c44
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100ad560]
movaps xmm0, xmm2
movss xmm3, dword [0x100ad554]
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 [0x100ad3f4]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x10080c44
xor eax, eax
jmp 0x10080c44
mov eax, dword [ecx + 0xc]
mov ecx, dword [0x102028f4]
mov dword [ebp - 0x38], eax
mov eax, dword [0x102028fc]
mov dword [0x10208618], 0x3f800000
push ecx
mov dword [esp], 0
movss xmm0, dword [eax + 0x10]
movss dword [0x10208610], xmm0
addss xmm0, dword [0x100ad3f4]
push 0
push 0x64
push ecx
mov dword [esp], 0x3f800000
movss dword [0x10208614], xmm0
mov eax, dword [ecx]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [eax + 0x30]
call eax
cmp dword [ebp - 0x248], 0
je 0x1008115d
mov eax, dword [0x1020369c]
mov edi, dword [0x10203698]
cmp edi, eax
je 0x10080ced
mov esi, eax
nop word [eax + eax]
mov edx, dword [0x10202b48]
mov eax, dword [0x101ec13c]
add edx, 0xffffffb6
mov ecx, dword [edi + 0x18]
xor edx, 0x57186d40
cmp ecx, dword [edx + eax]
jne 0x10080ce0
mov byte [edi + 0x1d], 1
add edi, 0x20
cmp edi, esi
jne 0x10080cc0
mov esi, dword [ebp - 0x250]
movd xmm0, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x248]
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x38]
jl 0x10080d15
cmp edi, 1
jne 0x10080d15
inc dword [0x10203680]
push 1
push dword [0x101fe6b4]
push dword [0x101fe6b0]
call fcn.1009b7d0
cmp eax, dword [0x101fe6b4]
je 0x1008105b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x244], eax
lea eax, [edi + edi*2]
lea eax, [eax*8 + 0x102035c0]
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], 0x100a76d4
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], 0x100a76d0
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], 0x100a7658
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 0x10080e15
push dword [ebp - 0x2a0]
mov dword [ebp - 0x25c], 0x1002ded0
lea eax, [ebp - 0x50]
push dword [ebp - 0x2a4]
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0xe8]
movq xmm0, qword [ebp - 0x260]
mov edx, str.Hit__s_in_the__s_for__i_damage___i_health_remaining__n
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x244]
movq qword [ebp - 0x29c], xmm0
mov dword [ebp - 0x25c], 0x1002ded0
movq xmm0, qword [ebp - 0x260]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x38]
movq qword [ebp - 0x290], xmm0
mov dword [ebp - 0x25c], 0x1002def0
movq xmm0, qword [ebp - 0x260]
movq qword [ebp - 0x284], xmm0
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0x1002def0
movq xmm0, qword [ebp - 0x260]
mov dword [ebp - 0x294], fcn.100221a0
mov dword [ebp - 0x288], fcn.100221a0
mov dword [ebp - 0x27c], 0x1002df10
movq qword [ebp - 0x278], xmm0
mov dword [ebp - 0x270], 0x1002df10
call fcn.10022cc0
add esp, 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xe4]
push eax
call fcn.10025330
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100a76d0
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.10020ac0
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 [0x100a8418]
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.10025550
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x10202a90]
cmp ecx, dword [0x10202a94]
je 0x10080fce
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 [0x10202a90], 8
jmp 0x10080fd5
push edx
push ecx
call fcn.10025ab0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10081006
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10081006
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10081006
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10025160
push 0x101ec138
call fcn.1002c830
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x1008105b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10081051
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081051
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov eax, dword [0x10203694]
test eax, eax
je 0x1008115d
mov edx, dword [0x10203690]
lea ecx, [eax + edx]
mov eax, dword [0x10203684]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x10081087
mov edi, dword [eax]
mov dword [ebp - 0x244], edi
jmp 0x10081091
mov dword [ebp - 0x244], 0
mov edi, dword [ebp - 0x248]
cmp edx, ecx
je 0x1008115d
mov esi, dword [ebp - 0x244]
mov eax, dword [esi + 8]
dec eax
mov dword [ebp - 0x18], eax
nop dword [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 [0x10202910]
cmp byte [eax + 0x3c], 0
jne 0x100810df
mov eax, dword [eax + 0x60]
test eax, eax
je 0x100810df
cmp eax, dword [esi + 0x16c]
je 0x100810e4
inc edx
cmp edx, ecx
jne 0x100810b0
mov esi, dword [ebp - 0x250]
mov eax, dword [0x10203684]
cmp edx, ecx
je 0x1008115d
test eax, eax
je 0x100810fb
mov eax, dword [eax]
jmp 0x100810fd
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 0x1008115d
cmp dword [eax + 0xc], 0
je 0x1008112f
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 0x1008115d
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 [0x10202910]
mov eax, dword [eax + 0x16c]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x10081195
mov edx, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008118b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008118b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
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.1009b980
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4