Function at 0x10079859
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 0x1009eb42
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x100b1040]
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 - 0x54], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1007a434
cmp dword [0x1013051c], 0
je 0x1007a434
mov eax, dword [0x1013e7cc]
mov edi, dword [ecx + 8]
test al, 1
jne 0x100795b1
or eax, 1
mov dword [0x1013e7cc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.1003afe0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013e7d0
call fcn.1003b430
add esp, 4
push 0x100a02d0
call fcn.100963d0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1013e7d0]
call eax
mov esi, eax
mov dword [ebp - 0x24c], esi
test edi, edi
je 0x1007964c
test esi, esi
je 0x1007964c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x1007964c
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 0x10079629
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079600
xor edx, edx
test ecx, ecx
je 0x10079629
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079610
cmp edi, 0xd791104e
je 0x10079644
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x1007964c
mov esi, dword [ebp - 0x24c]
jmp 0x100795e0
mov ecx, dword [ebp - 0x250]
jmp 0x1007964e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100a7c98]
dec eax
movss xmm1, dword [0x100a7c8c]
movss xmm5, dword [0x100a7aa8]
cmp eax, 6
ja case.0x10079670.2
jmp dword [eax*4 + 0x1007a48c]
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 0x100796de
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 0x100796de
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 0x100796de
xor edx, edx
jmp 0x100796de
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10139654]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x1013e7cc]
mov dword [ebp - 0x20], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10079742
or ecx, 1
mov dword [0x1013e7cc], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.1003afe0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013e7d0
call fcn.1003b430
add esp, 4
push 0x100a02d0
call fcn.100963d0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1013e7d0]
call eax
mov esi, eax
mov dword [ebp - 0x24c], esi
test edi, edi
je 0x100797cd
test esi, esi
je 0x100797cd
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x100797cd
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 0x100797aa
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079784
xor edx, edx
test ecx, ecx
je 0x100797aa
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079791
cmp edi, 0x11ab48ff
je 0x100797c5
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x100797cd
mov esi, dword [ebp - 0x24c]
jmp 0x10079766
mov ecx, dword [ebp - 0x250]
jmp 0x100797cf
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100797dd.2
jmp dword [eax*4 + 0x1007a4a8]
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 0x10079860
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 0x10079860
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a7c98]
movaps xmm0, xmm4
movss xmm1, dword [0x100a7c8c]
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 [0x100a7aa8]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x10079860
xor edx, edx
jmp 0x10079860
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10139654]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1007a431
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1007a431
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1007a431
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1007a431
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [0x1013e7cc]
test al, 1
jne 0x10079908
or eax, 1
mov dword [0x1013e7cc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.1003afe0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013e7d0
call fcn.1003b430
add esp, 4
push 0x100a02d0
call fcn.100963d0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1013e7d0]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x10079999
test esi, esi
je 0x10079999
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x10079999
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 0x10079979
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079950
xor edx, edx
test ecx, ecx
je 0x10079979
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079960
cmp edi, 0x2a7e565d
je 0x10079991
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x10079999
mov esi, dword [ebp - 0x20]
jmp 0x10079930
mov ecx, dword [ebp - 0x250]
jmp 0x1007999b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100799a9.2
jmp dword [eax*4 + 0x1007a4c4]
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 0x10079a3a
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x24c], eax
mov esi, eax
jmp 0x10079a40
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a7c98]
movaps xmm0, xmm4
movss xmm1, dword [0x100a7c8c]
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 [0x100a7aa8]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x10079a3a
mov dword [ebp - 0x24c], 0
jmp 0x10079a49
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x24c], esi
cmp esi, 0xa
je 0x1007a431
mov ecx, dword [0x10139658]
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1007a431
mov ecx, dword [0x10139654]
lea edx, [ebp - 0x248]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1007a431
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079aa0
sub ecx, edx
lea eax, [ebp - 0x238]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1001deb0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x38]
mov ecx, 0x18
mov dword [ebp - 0x254], 0
cmp dword [ebp - 0x28], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x264], xmm0
cmovb ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x24], 0xf
push ecx
cmova eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x264]
push eax
mov dword [ebp - 0x250], 0
call fcn.1001deb0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10079b33
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10079b29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a459
push ecx
push edx
call fcn.100963ea
add esp, 8
movups xmm0, xmmword [ebp - 0x264]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [ebp - 0x254]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
movq qword [ebp - 0x44], xmm0
cmp ecx, 0xf
jbe 0x10079b83
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10079b79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a459
push ecx
push edx
call fcn.100963ea
add esp, 8
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [0x1013e7cc]
test al, 1
jne 0x10079bd3
or eax, 1
mov dword [0x1013e7cc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.1003afe0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013e7d0
call fcn.1003b430
add esp, 4
push 0x100a02d0
call fcn.100963d0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1013e7d0]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10079c59
test esi, esi
je 0x10079c59
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x10079c59
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 0x10079c39
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079c12
xor edx, edx
test ecx, ecx
je 0x10079c39
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079c20
cmp edi, 0xa0d9523e
je 0x10079c51
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x10079c59
mov esi, dword [ebp - 0x18]
jmp 0x10079bf4
mov ecx, dword [ebp - 0x250]
jmp 0x10079c5b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10079c69.2
jmp dword [eax*4 + 0x1007a4e0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10079ce8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10079ce8
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a7c98]
movaps xmm0, xmm4
movss xmm1, dword [0x100a7c8c]
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 [0x100a7aa8]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10079ce8
xor eax, eax
jmp 0x10079ce8
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [0x1013e7cc]
test al, 1
jne 0x10079d3b
or eax, 1
mov dword [0x1013e7cc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.1003afe0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013e7d0
call fcn.1003b430
add esp, 4
push 0x100a02d0
call fcn.100963d0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1013e7d0]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10079dc0
test esi, esi
je 0x10079dc0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10079dc0
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 0x10079da9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079d80
xor edx, edx
test ecx, ecx
je 0x10079da9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079d90
cmp edi, 0x6b98ed8f
je 0x10079dbb
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10079dc0
mov esi, dword [ebp - 0x18]
jmp 0x10079d60
mov ecx, dword [ebp - 0x1c]
jmp 0x10079dc2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10079dd0.2
jmp dword [eax*4 + 0x1007a4fc]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10079e4f
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10079e4f
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100a7c98]
movaps xmm0, xmm2
movss xmm3, dword [0x100a7c8c]
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 [0x100a7aa8]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x10079e57
xor eax, eax
jmp 0x10079e4f
mov eax, dword [ecx + 0xc]
movss xmm2, dword [0x100a7aa8]
mov edi, dword [ebp - 0x24c]
mov dword [ebp - 0x3c], eax
lea eax, [edi + edi*2]
cmp dword [eax*8 + 0x10139c5c], 0xf
lea esi, [eax*8 + 0x10139c48]
mov ecx, esi
jbe 0x10079e78
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 4
push str.head
call fcn.1002d1a0
add esp, 8
test al, al
je 0x10079e94
inc dword [0x10130518]
mov eax, dword [0x101396b4]
cmp edi, 1
mov dword [0x1013e3ec], 0x3f800000
sete byte [0x10139d34]
cmp byte [0x100b67a0], 0
movss xmm0, dword [eax + 0x10]
movss dword [0x1013e3e4], xmm0
addss xmm0, xmm2
movss dword [0x1013e3e8], xmm0
je 0x10079ef5
mov ecx, dword [0x101396ac]
push ecx
mov dword [esp], 0
push 0
mov eax, dword [ecx]
push 0x64
push ecx
mov dword [esp], 0x42c80000
mov eax, dword [eax + 0x30]
push str.buttons_button22.wav
call eax
cmp byte [0x100bc3f0], 0
je 0x1007a224
movd xmm0, dword [ebp - 0x250]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
cvttss2si eax, xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xf0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf0], 0x100a2a30
lea ecx, [ebp - 0xa0]
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 - 0xec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xf0]
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 - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], 0x100a2a2c
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xec], 0x100a2874
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 4
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 9
mov dword [ebp - 0x29c], eax
mov ecx, 4
mov dword [ebp - 0x298], 4
lea eax, [ebp - 0x28c]
nop
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10079fe0
push dword [ebp - 0x298]
mov dword [ebp - 0x254], 0x1002d210
lea eax, [ebp - 0x54]
push dword [ebp - 0x29c]
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0xf0]
movq xmm0, qword [ebp - 0x258]
lea eax, [ebp - 0x20]
movq qword [ebp - 0x294], xmm0
mov edx, str.hit__s_in__s_for__i_damage___i_health_remaining__n
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 0x1002d210
movq xmm0, qword [ebp - 0x258]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x3c]
movq qword [ebp - 0x288], xmm0
mov dword [ebp - 0x254], 0x1002d440
movq xmm0, qword [ebp - 0x258]
movq qword [ebp - 0x27c], xmm0
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0x1002d440
movq xmm0, qword [ebp - 0x258]
mov dword [ebp - 0x28c], fcn.10023a90
mov dword [ebp - 0x280], fcn.10023a90
mov dword [ebp - 0x274], 0x1002d460
movq qword [ebp - 0x270], xmm0
mov dword [ebp - 0x268], 0x1002d460
call fcn.100210e0
add esp, 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xec]
push eax
call fcn.10023240
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], 0x100a2a2c
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call fcn.1001d280
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa0]
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 - 0x38]
mov eax, dword [0x100a3a9c]
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
call fcn.10023320
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x100b12d4]
cmp ecx, dword [0x100b12d8]
je 0x1007a193
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 [0x100b12d4], 8
jmp 0x1007a19a
push edx
push ecx
call fcn.10023860
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x250]
test esi, esi
je 0x1007a1cf
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007a1c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007a1c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x24c]
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.1001d3c0
push 0x10130510
call fcn.1002bf70
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1007a224
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a21a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a21a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
add esp, 8
test edi, edi
je 0x1007a431
mov edi, dword [0x10139d20]
mov esi, dword [0x10139d1c]
cmp esi, edi
je 0x1007a267
nop dword [eax]
mov edx, dword [0x101398c8]
mov eax, dword [0x1013051c]
add edx, 0xffffffc5
mov ecx, dword [esi + 0x18]
xor edx, 0x52891233
cmp ecx, dword [edx + eax]
jne 0x1007a260
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1007a240
mov ecx, dword [0x10139d14]
xor esi, esi
mov edx, dword [0x10139d18]
movss xmm1, dword [0x100a7c94]
add edx, ecx
cmp ecx, edx
je 0x1007a431
mov eax, dword [0x10139d10]
mov edi, dword [0x10139d0c]
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 0x1007a2c8
mov edi, dword [0x101396b4]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
call fcn.100160e0
comiss xmm1, xmm0
mov edi, dword [0x10139d0c]
jb 0x1007a2c8
movaps xmm1, xmm0
mov esi, eax
inc ecx
cmp ecx, edx
jne 0x1007a296
test esi, esi
je 0x1007a431
mov ecx, dword [0x10139654]
mov edi, dword [esi + 4]
mov dword [ebp - 0x24c], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1007a428
cmp dword [0x1013051c], 0
je 0x1007a428
cmp byte [edi + 0x420], 0
je 0x1007a428
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x1007a424
cmp dword [0x1013051c], 0
je 0x1007a424
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 - 0x20]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
mov ecx, dword [0x10139708]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [ebp - 0x20]
mov eax, dword [ecx]
addss xmm0, dword [0x10133bd4]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x20], xmm0
call eax
movss xmm1, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
comiss xmm1, dword [0x100a7980]
lea ecx, [ebp - 0x18]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
cmovae ecx, eax
movss dword [ebp - 0x250], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x250]
mov dword [ebp - 0x18], 0
cmovae eax, ecx
mov ecx, dword [0x1013051c]
movss xmm1, dword [eax]
mov eax, dword [0x101398b0]
add eax, 0xffffffcb
xor eax, 0x5289122d
cmp dword [eax + ecx], 0
jne 0x1007a3fa
mov eax, dword [0x101398c8]
add eax, 0xffffffc5
xor eax, 0x52891233
movd xmm0, dword [eax + ecx]
mov eax, dword [0x101396b4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1007a404
mov eax, dword [0x101396b4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x24c]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.100160e0
comiss xmm0, dword [0x100a7a18]
ja 0x1007a428
mov al, 1
jmp 0x1007a42a
xor al, al
mov byte [esi + 0x48], al
mov byte [esi + 0x31], 1
mov eax, dword [ebp - 0x40]
cmp eax, 0xf
jbe 0x1007a469
mov edx, dword [ebp - 0x54]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a45f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a45f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
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.10095ebc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4