Function at 0x1007c090
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 0x100a2e22
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x100b8410]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x1007cf36
cmp dword [0x101a47d4], 0
je 0x1007cf36
mov edi, dword [eax + 8]
mov eax, dword [0x101a4d30]
test al, 1
jne 0x1007c15d
or eax, 1
mov dword [0x101a4d30], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1003b7c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a4d34
call fcn.1003bc30
add esp, 4
push 0x100a45e0
call fcn.10099bfc
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101a4d34]
call eax
mov esi, eax
mov dword [ebp - 0x244], esi
test edi, edi
je 0x1007c1fc
test esi, esi
je 0x1007c1fc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c1fc
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 0x1007c1d9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007c1b0
xor edx, edx
test ecx, ecx
je 0x1007c1d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c1c0
cmp edi, 0xd791104e
je 0x1007c1f4
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c1fc
mov esi, dword [ebp - 0x244]
jmp 0x1007c190
mov ecx, dword [ebp - 0x248]
jmp 0x1007c1fe
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100ae2d8]
dec eax
movss xmm1, dword [0x100ae2d0]
movss xmm5, dword [0x100ae13c]
cmp eax, 6
ja case.0x1007c220.2
jmp dword [eax*4 + 0x1007cf8c]
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 0x1007c28e
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 0x1007c28e
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 0x1007c28e
xor edx, edx
jmp 0x1007c28e
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1019f308]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x101a4d30]
mov dword [ebp - 0x260], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1007c2f2
or ecx, 1
mov dword [0x101a4d30], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1003b7c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a4d34
call fcn.1003bc30
add esp, 4
push 0x100a45e0
call fcn.10099bfc
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101a4d34]
call eax
mov esi, eax
mov dword [ebp - 0x244], esi
test edi, edi
je 0x1007c37d
test esi, esi
je 0x1007c37d
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c37d
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 0x1007c35a
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007c334
xor edx, edx
test ecx, ecx
je 0x1007c35a
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c341
cmp edi, 0x11ab48ff
je 0x1007c375
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c37d
mov esi, dword [ebp - 0x244]
jmp 0x1007c316
mov ecx, dword [ebp - 0x248]
jmp 0x1007c37f
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007c38d.2
jmp dword [eax*4 + 0x1007cfa8]
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 0x1007c410
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 0x1007c410
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100ae2d8]
movaps xmm0, xmm4
movss xmm1, dword [0x100ae2d0]
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 [0x100ae13c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1007c410
xor edx, edx
jmp 0x1007c410
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1019f308]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x260]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1007cf36
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1007cf36
mov ecx, dword [0x1019f308]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1007cf36
mov ecx, dword [0x1019f308]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1007cf36
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [0x101a4d30]
test al, 1
jne 0x1007c4b8
or eax, 1
mov dword [0x101a4d30], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1003b7c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a4d34
call fcn.1003bc30
add esp, 4
push 0x100a45e0
call fcn.10099bfc
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101a4d34]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1007c54c
test esi, esi
je 0x1007c54c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c54c
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 0x1007c529
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007c500
xor edx, edx
test ecx, ecx
je 0x1007c529
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c510
cmp edi, 0x2a7e565d
je 0x1007c544
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c54c
mov esi, dword [ebp - 0x260]
jmp 0x1007c4e0
mov ecx, dword [ebp - 0x248]
jmp 0x1007c54e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007c55c.2
jmp dword [eax*4 + 0x1007cfc4]
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 0x1007c5ed
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x244], eax
mov esi, eax
jmp 0x1007c5f3
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100ae2d8]
movaps xmm0, xmm4
movss xmm1, dword [0x100ae2d0]
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 [0x100ae13c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1007c5ed
mov dword [ebp - 0x244], 0
jmp 0x1007c5fc
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x244], esi
cmp esi, 0xa
je 0x1007cf36
mov ecx, dword [0x1019f30c]
mov edi, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x268], eax
test eax, eax
je 0x1007cf36
mov esi, dword [0x1019f308]
lea eax, [ebp - 0x240]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x1007cf36
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 0x1007c658
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10021ef0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
mov ecx, 0x18
mov dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x25c], xmm0
cmovb ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0x10
push ecx
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x25c]
push eax
mov dword [ebp - 0x248], 0
call fcn.10021ef0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x1007c6eb
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007c6e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007cf5c
push ecx
push edx
call fcn.10099c11
add esp, 8
movups xmm0, xmmword [ebp - 0x25c]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x24c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
movq qword [ebp - 0x40], xmm0
cmp ecx, 0x10
jb 0x1007c73b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007c731
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007cf5c
push ecx
push edx
call fcn.10099c11
add esp, 8
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [0x101a4d30]
test al, 1
jne 0x1007c788
or eax, 1
mov dword [0x101a4d30], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1003b7c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a4d34
call fcn.1003bc30
add esp, 4
push 0x100a45e0
call fcn.10099bfc
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101a4d34]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1007c819
test esi, esi
je 0x1007c819
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c819
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 0x1007c7f9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007c7d0
xor edx, edx
test ecx, ecx
je 0x1007c7f9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c7e0
cmp edi, 0xa0d9523e
je 0x1007c811
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1007c819
mov esi, dword [ebp - 0x18]
jmp 0x1007c7b1
mov ecx, dword [ebp - 0x248]
jmp 0x1007c81b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007c829.2
jmp dword [eax*4 + 0x1007cfe0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007c8a8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007c8a8
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100ae2d8]
movaps xmm0, xmm4
movss xmm1, dword [0x100ae2d0]
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 [0x100ae13c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1007c8a8
xor eax, eax
jmp 0x1007c8a8
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [0x101a4d30]
test al, 1
jne 0x1007c8fb
or eax, 1
mov dword [0x101a4d30], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.1003b7c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101a4d34
call fcn.1003bc30
add esp, 4
push 0x100a45e0
call fcn.10099bfc
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101a4d34]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1007c980
test esi, esi
je 0x1007c980
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007c980
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 0x1007c969
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007c940
xor edx, edx
test ecx, ecx
je 0x1007c969
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007c950
cmp edi, 0x6b98ed8f
je 0x1007c97b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007c980
mov esi, dword [ebp - 0x18]
jmp 0x1007c920
mov ecx, dword [ebp - 0x1c]
jmp 0x1007c982
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007c98c.2
jmp dword [eax*4 + 0x1007cffc]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007ca0b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007ca0b
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100ae2d8]
movaps xmm0, xmm2
movss xmm3, dword [0x100ae2d0]
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 [0x100ae13c]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1007ca13
xor eax, eax
jmp 0x1007ca0b
mov eax, dword [ecx + 0xc]
movss xmm2, dword [0x100ae13c]
mov ecx, dword [0x1019f57c]
mov dword [ebp - 0x38], eax
add ecx, 0xffffffbe
mov eax, dword [0x101a47d4]
xor ecx, 0xc1a8c999
cmp byte [0x100c75c0], 0
movd xmm0, dword [ecx + eax]
mov eax, dword [0x1019f364]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x264], xmm0
je 0x1007ca96
mov ecx, dword [0x1019f35c]
mov dword [0x101a46f4], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x101a46ec], xmm0
addss xmm0, xmm2
push ecx
mov dword [esp], 0
push 0
push 0x64
movss dword [0x101a46f0], xmm0
mov eax, dword [ecx]
push ecx
mov dword [esp], 0x3f800000
push str.buttons_arena_switch_press_02.wav
mov eax, dword [eax + 0x30]
call eax
push 1
push dword [0x100c70ac]
push dword [0x100c70a8]
call fcn.100995b0
cmp eax, dword [0x100c70ac]
je 0x1007cde6
movd xmm0, dword [ebp - 0x248]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
cvttss2si eax, xmm0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x244]
lea eax, [eax + eax*2]
lea esi, [eax*8 + 0x1019ff08]
lea eax, [ebp - 0xe8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x100a7e94
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], 0x100a7e90
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], 0x100a7e50
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 9
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 0x1007cba5
push dword [ebp - 0x29c]
mov dword [ebp - 0x24c], 0x10042f40
lea eax, [ebp - 0x50]
push dword [ebp - 0x2a0]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0xe8]
movq xmm0, qword [ebp - 0x250]
lea eax, [ebp - 0x260]
movq qword [ebp - 0x298], xmm0
mov edx, str.Hit__s_in_the__s_for__i_damage___i_health_remaining__n
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0x10042f40
movq xmm0, qword [ebp - 0x250]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x38]
movq qword [ebp - 0x28c], xmm0
mov dword [ebp - 0x24c], 0x1002fdb0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x280], xmm0
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0x1002fdb0
movq xmm0, qword [ebp - 0x250]
mov dword [ebp - 0x290], fcn.10025dd0
mov dword [ebp - 0x284], fcn.10025dd0
mov dword [ebp - 0x278], 0x1002fdd0
movq qword [ebp - 0x274], xmm0
mov dword [ebp - 0x26c], 0x1002fdd0
call fcn.10023740
add esp, 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xe4]
push eax
call fcn.100257f0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100a7e90
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.10021650
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 [0x100a954c]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
call fcn.1002ef20
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x1019da58]
cmp ecx, dword [0x1019da5c]
je 0x1007cd5b
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 [0x1019da58], 8
jmp 0x1007cd62
push edx
push ecx
call fcn.1002fb30
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x1007cd91
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007cd91
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007cd91
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10025620
push 0x101a47c8
call fcn.1002dfb0
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x1007cde6
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007cddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007cddc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
cmp dword [ebp - 0x244], 0
je 0x1007cf36
mov edi, dword [0x101a0028]
mov esi, dword [0x101a0024]
cmp esi, edi
je 0x1007ce37
nop dword [eax]
nop word [eax + eax]
mov edx, dword [0x1019f57c]
mov eax, dword [0x101a47d4]
add edx, 0xffffffbe
mov ecx, dword [esi + 0x18]
xor edx, 0xc1a8c999
cmp ecx, dword [edx + eax]
jne 0x1007ce30
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1007ce10
mov ecx, dword [0x101a001c]
xor esi, esi
mov edx, dword [0x101a0020]
movss xmm2, dword [0x100ae2d4]
add edx, ecx
mov dword [ebp - 0x18], edx
cmp ecx, edx
je 0x1007cf36
mov edi, dword [0x101a0018]
movss xmm3, dword [ebp - 0x264]
nop dword [eax + eax]
mov edx, dword [0x101a0014]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x18]
cmp byte [eax + 0x31], 0
jne 0x1007ceb0
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm1, dword [eax + 8]
subss xmm0, xmm1
call fcn.1001ac40
comiss xmm0, dword [0x100ae13c]
ja 0x1007ceb0
comiss xmm2, xmm0
jbe 0x1007ceb0
movaps xmm2, xmm0
mov esi, eax
inc ecx
cmp ecx, edx
jne 0x1007ce70
test esi, esi
je 0x1007cf36
mov ecx, dword [ebp - 0x268]
add ecx, 8
mov byte [esi + 0x31], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x34b4
lea ecx, [eax + 0x100c6600]
test ecx, ecx
je 0x1007cf36
mov dword [ecx + 0x302c], 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x408]
cmp eax, 6
jne 0x1007cf08
mov eax, dword [ecx + 0x3478]
test eax, eax
jle 0x1007cf36
dec eax
mov dword [ecx + 0x3478], eax
jmp 0x1007cf36
cmp eax, 2
jne 0x1007cf20
mov eax, dword [ecx + 0x3470]
test eax, eax
jle 0x1007cf36
dec eax
mov dword [ecx + 0x3470], eax
jmp 0x1007cf36
cmp eax, 4
jne 0x1007cf36
mov eax, dword [ecx + 0x3474]
test eax, eax
jle 0x1007cf36
dec eax
mov dword [ecx + 0x3474], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x1007cf6c
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007cf62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007cf62
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
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.10099796
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4