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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fa60
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x100b300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x1007aa7d
cmp dword [0x100f67c0], 0
je 0x1007aa7d
mov edi, dword [eax + 8]
mov eax, dword [0x101104a0]
test al, 1
jne 0x10079df5
or eax, 1
mov dword [0x101104a0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ac]
call fcn.1003b960
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101104a4
call fcn.1003be50
push 0x100a1060
call fcn.10097c5f
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101104a4]
call eax
mov esi, eax
mov dword [ebp - 0x1c4], esi
test edi, edi
je 0x10079e8c
test esi, esi
je 0x10079e8c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x10079e8c
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 0x10079e69
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079e40
xor edx, edx
test ecx, ecx
je 0x10079e69
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079e50
cmp edi, 0xd791104e
je 0x10079e84
mov ecx, dword [ebp - 0x1bc]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x10079e8c
mov esi, dword [ebp - 0x1c4]
jmp 0x10079e21
mov ecx, dword [ebp - 0x1bc]
jmp 0x10079e8e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100a9264]
dec eax
movss xmm1, dword [0x100a9258]
movss xmm5, dword [0x100a908c]
cmp eax, 6
ja case.0x10079eb0.2
jmp dword [eax*4 + 0x1007aa9c]
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 0x10079f1e
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 0x10079f1e
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 0x10079f1e
xor edx, edx
jmp 0x10079f1e
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1010b440]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c8]
mov ecx, dword [0x101104a0]
mov dword [ebp - 0x1a4], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10079f82
or ecx, 1
mov dword [0x101104a0], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.1003b960
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101104a4
call fcn.1003be50
push 0x100a1060
call fcn.10097c5f
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101104a4]
call eax
mov esi, eax
mov dword [ebp - 0x1c4], esi
test edi, edi
je 0x1007a01c
test esi, esi
je 0x1007a01c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x1007a01c
nop word [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 0x10079ff9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079fd0
xor edx, edx
test ecx, ecx
je 0x10079ff9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079fe0
cmp edi, 0x11ab48ff
je 0x1007a014
mov ecx, dword [ebp - 0x1bc]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x1007a01c
mov esi, dword [ebp - 0x1c4]
jmp 0x10079fb0
mov ecx, dword [ebp - 0x1bc]
jmp 0x1007a01e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007a02c.2
jmp dword [eax*4 + 0x1007aab8]
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 0x1007a0af
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 0x1007a0af
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a9264]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9258]
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 [0x100a908c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1007a0af
xor edx, edx
jmp 0x1007a0af
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1010b440]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1a4]
mov esi, eax
mov dword [ebp - 0x1c0], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1007aa47
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1007aa47
mov ecx, dword [0x1010b440]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1007aa47
mov ecx, dword [0x1010b440]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1007aa47
mov eax, dword [ebp - 0x1c8]
mov edi, dword [eax + 8]
mov eax, dword [0x101104a0]
test al, 1
jne 0x1007a15a
or eax, 1
mov dword [0x101104a0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1003b960
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101104a4
call fcn.1003be50
push 0x100a1060
call fcn.10097c5f
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101104a4]
call eax
mov esi, eax
mov dword [ebp - 0x1c4], esi
test edi, edi
je 0x1007a1ec
test esi, esi
je 0x1007a1ec
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x1007a1ec
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 0x1007a1c9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007a1a0
xor edx, edx
test ecx, ecx
je 0x1007a1c9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007a1b0
cmp edi, 0x2a7e565d
je 0x1007a1e4
mov ecx, dword [ebp - 0x1bc]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x1007a1ec
mov esi, dword [ebp - 0x1c4]
jmp 0x1007a182
mov ecx, dword [ebp - 0x1bc]
jmp 0x1007a1ee
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007a1fc.2
jmp dword [eax*4 + 0x1007aad4]
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 0x1007a290
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x1bc], eax
mov esi, eax
jmp 0x1007a296
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a9264]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9258]
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 [0x100a908c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1007a290
mov dword [ebp - 0x1bc], 0
jmp 0x1007a29f
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1bc], esi
cmp esi, 0xa
je 0x1007aa47
mov ecx, dword [0x1010b444]
mov edi, dword [ebp - 0x1c0]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x1007aa47
mov esi, dword [0x1010b440]
lea eax, [ebp - 0x1a0]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x1007aa47
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a302
sub ecx, edx
lea eax, [ebp - 0x190]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1001fcb0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
mov ecx, 0x18
mov dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x18], ecx
mov dword [ebp - 0x1a8], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1b8]
push eax
mov dword [ebp - 0x1a4], 0xf
call fcn.1001fcb0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1007a395
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a38b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007aa6d
push edx
push ecx
call fcn.10097c74
add esp, 8
movups xmm0, xmmword [ebp - 0x1b8]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x1a8]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
movq qword [ebp - 0x38], xmm0
cmp edx, 0x10
jb 0x1007a3e5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a3db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007aa6d
push edx
push ecx
call fcn.10097c74
add esp, 8
mov eax, dword [ebp - 0x1c8]
mov edi, dword [eax + 8]
mov eax, dword [0x101104a0]
test al, 1
jne 0x1007a432
or eax, 1
mov dword [0x101104a0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.1003b960
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101104a4
call fcn.1003be50
push 0x100a1060
call fcn.10097c5f
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101104a4]
call eax
mov esi, eax
mov dword [ebp - 0x1c0], esi
test edi, edi
je 0x1007a4cc
test esi, esi
je 0x1007a4cc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x1007a4cc
nop word [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 0x1007a4a9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007a480
xor edx, edx
test ecx, ecx
je 0x1007a4a9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007a490
cmp edi, 0xa0d9523e
je 0x1007a4c4
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x1007a4cc
mov esi, dword [ebp - 0x1c0]
jmp 0x1007a460
mov ecx, dword [ebp - 0x1a4]
jmp 0x1007a4ce
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007a4d8.2
jmp dword [eax*4 + 0x1007aaf0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007a557
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007a557
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a9264]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9258]
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 [0x100a908c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1007a557
xor eax, eax
jmp 0x1007a557
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x1c8]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x101104a0]
movss dword [ebp - 0x2c], xmm0
test al, 1
jne 0x1007a5b0
or eax, 1
mov dword [0x101104a0], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.1003b960
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101104a4
call fcn.1003be50
push 0x100a1060
call fcn.10097c5f
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101104a4]
call eax
mov esi, eax
mov dword [ebp - 0x1c0], esi
test edi, edi
je 0x1007a63c
test esi, esi
je 0x1007a63c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x1007a63c
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 0x1007a619
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007a5f2
xor edx, edx
test ecx, ecx
je 0x1007a619
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007a600
cmp edi, 0x6b98ed8f
je 0x1007a634
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x1007a63c
mov esi, dword [ebp - 0x1c0]
jmp 0x1007a5d4
mov ecx, dword [ebp - 0x1a4]
jmp 0x1007a63e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007a648.2
jmp dword [eax*4 + 0x1007ab0c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007a6c7
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007a6c7
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100a9264]
movaps xmm0, xmm2
movss xmm3, dword [0x100a9258]
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 [0x100a908c]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1007a6c7
xor eax, eax
jmp 0x1007a6c7
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x1bc]
cmp edx, 1
mov dword [ebp - 0x30], eax
mov eax, dword [0x1010b49c]
sete byte [0x1010aa84]
cmp byte [0x100fd688], 0
mov dword [0x1011031c], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x10110314], xmm0
addss xmm0, dword [0x100a908c]
movss dword [0x10110318], xmm0
je 0x1007a73b
mov ecx, dword [0x1010b494]
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
mov edx, dword [ebp - 0x1bc]
mov eax, dword [0x101089bc]
mov ecx, dword [0x101089c0]
cmp eax, ecx
je 0x1007a891
nop
cmp dword [eax], 0
je 0x1007a75c
add eax, 4
cmp eax, ecx
jne 0x1007a750
cmp eax, ecx
je 0x1007a891
lea ecx, [ebp - 0x30]
push ecx
lea eax, [edx + edx*2]
mov edx, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [eax*8 + 0x1010a930]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.100415b0
mov byte [ebp - 4], 7
mov esi, dword [0x100a414c]
push 0x34
call fcn.10097815
add esp, 0x14
mov dword [ebp - 0x1c0], 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], 0x100a36b8
lea eax, [ebp - 0x28]
push eax
call fcn.10023f00
mov eax, dword [ebp - 0x1c0]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1a8], xmm0
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 0x40a00000
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 9
push eax
call fcn.10023df0
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1a4]
test esi, esi
je 0x1007a83c
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007a83c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007a83c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.10023f00
push 0x100f67c0
call fcn.1002b1a0
mov byte [ebp - 4], 0
add esp, 0x1c
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1007a891
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a887
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a887
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10097c74
add esp, 8
cmp dword [ebp - 0x1bc], 0
je 0x1007aa47
mov esi, dword [0x1010aa4c]
mov edi, dword [0x1010aa50]
cmp esi, edi
je 0x1007a8d7
nop
mov edx, dword [0x1010b69c]
mov eax, dword [0x100f67c0]
add edx, 0xffffffc0
mov ecx, dword [esi + 0x18]
xor edx, 0xb1282541
cmp ecx, dword [edx + eax]
jne 0x1007a8d0
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1007a8b0
mov eax, dword [0x1010aa68]
test eax, eax
je 0x1007aa47
mov edx, dword [0x1010aa64]
lea esi, [edx + eax]
mov dword [ebp - 0x1a4], esi
cmp edx, esi
je 0x1007aa47
mov ecx, dword [0x1010b69c]
mov edi, dword [0x1010aa60]
add ecx, 0xffffffc0
mov eax, dword [0x100f67c0]
dec edi
xor ecx, 0xb1282541
mov eax, dword [ecx + eax]
mov dword [ebp - 0x1c0], eax
nop
mov ecx, dword [0x1010aa5c]
mov eax, edx
and eax, edi
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x1c0]
cmp dword [ecx + 4], eax
jne 0x1007a94a
mov eax, dword [ecx]
mov esi, dword [ebp - 0x1c4]
cmp dword [eax], esi
mov esi, dword [ebp - 0x1a4]
je 0x1007a954
inc edx
cmp edx, esi
jne 0x1007a920
jmp 0x1007aa47
mov eax, dword [ebp - 0x1bc]
movss xmm0, dword [ebp - 0x2c]
mov esi, dword [0x1010aa74]
mov dword [ebp - 0x1a8], eax
mov eax, dword [0x1010aa7c]
inc eax
mov dword [ebp - 0x1ac], ecx
movss dword [ebp - 0x1a4], xmm0
cmp esi, eax
ja 0x1007a994
push ecx
mov ecx, 0x1010aa6c
call fcn.1002b620
mov esi, dword [0x1010aa74]
mov ecx, dword [0x1010aa70]
lea edi, [esi - 1]
mov eax, edi
and eax, dword [0x1010aa78]
mov dword [0x1010aa78], eax
cmovne esi, eax
dec esi
and edi, esi
cmp dword [ecx + edi*4], 0
jne 0x1007a9cf
push 0xc
call fcn.10097815
mov ecx, dword [0x1010aa70]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x1010aa70]
mov ecx, dword [ecx + edi*4]
movq xmm0, qword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1a4]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x1010aa7c]
inc eax
mov dword [0x1010aa78], esi
mov dword [0x1010aa7c], eax
cmp eax, 0x80
jbe 0x1007aa1d
nop
add eax, 0xffffffff
mov dword [0x1010aa7c], eax
je 0x1007aa13
cmp eax, 0x80
ja 0x1007aa00
jmp 0x1007aa1d
mov dword [0x1010aa78], 0
mov ecx, dword [ebp - 0x1c4]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x108c
lea eax, [eax + 0x100b2248]
test eax, eax
je 0x1007aa47
mov dword [eax + 0x758], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1007aa7d
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007aa73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007aa73
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10097c74
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.100977f9
mov esp, ebp
pop ebp
ret 4