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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5b71
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x100ba220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, 0xf
mov dword [ebp - 0x1ac], ecx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100800ea
cmp dword [0x100ba240], 0
je 0x100800ea
mov eax, dword [0x100fef40]
mov edi, dword [ecx + 8]
test al, 1
jne 0x1007f516
or eax, 1
mov dword [0x100fef40], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8]
call fcn.1003e900
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fef44
call fcn.1003ed70
push 0x100a7190
call fcn.1009cb2c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x100fef44]
call eax
mov esi, eax
mov dword [ebp - 0x1bc], esi
test edi, edi
je 0x1007f5ac
test esi, esi
je 0x1007f5ac
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1007f5ac
nop
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 0x1007f589
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007f560
xor edx, edx
test ecx, ecx
je 0x1007f589
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007f570
cmp edi, 0xd791104e
je 0x1007f5a4
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1007f5ac
mov esi, dword [ebp - 0x1bc]
jmp 0x1007f540
mov ecx, dword [ebp - 0x1b8]
jmp 0x1007f5ae
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100afae4]
dec eax
movss xmm1, dword [0x100afad8]
movss xmm5, dword [0x100af90c]
cmp eax, 6
ja case.0x1007f5d0.2
jmp dword [eax*4 + 0x1008013c]
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 0x1007f63e
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 0x1007f63e
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 0x1007f63e
xor edx, edx
jmp 0x1007f63e
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100f9a90]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1ac]
mov ecx, dword [0x100fef40]
mov dword [ebp - 0x14], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1007f6a2
or ecx, 1
mov dword [0x100fef40], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.1003e900
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fef44
call fcn.1003ed70
push 0x100a7190
call fcn.1009cb2c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x100fef44]
call eax
mov esi, eax
mov dword [ebp - 0x1bc], esi
test edi, edi
je 0x1007f72d
test esi, esi
je 0x1007f72d
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1007f72d
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 0x1007f70a
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007f6e4
xor edx, edx
test ecx, ecx
je 0x1007f70a
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007f6f1
cmp edi, 0x11ab48ff
je 0x1007f725
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1007f72d
mov esi, dword [ebp - 0x1bc]
jmp 0x1007f6c6
mov ecx, dword [ebp - 0x1b8]
jmp 0x1007f72f
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007f73d.2
jmp dword [eax*4 + 0x10080158]
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 0x1007f7c0
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 0x1007f7c0
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100afae4]
movaps xmm0, xmm4
movss xmm1, dword [0x100afad8]
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 [0x100af90c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1007f7c0
xor edx, edx
jmp 0x1007f7c0
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100f9a90]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x100800e7
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x100800e7
mov ecx, dword [0x100f9a90]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x100800e7
mov ecx, dword [0x100f9a90]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100800e7
mov eax, dword [ebp - 0x1ac]
mov edi, dword [eax + 8]
mov eax, dword [0x100fef40]
test al, 1
jne 0x1007f868
or eax, 1
mov dword [0x100fef40], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c8]
call fcn.1003e900
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fef44
call fcn.1003ed70
push 0x100a7190
call fcn.1009cb2c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x100fef44]
call eax
mov esi, eax
mov dword [ebp - 0x1bc], esi
test edi, edi
je 0x1007f8fc
test esi, esi
je 0x1007f8fc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1007f8fc
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 0x1007f8d9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007f8b0
xor edx, edx
test ecx, ecx
je 0x1007f8d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007f8c0
cmp edi, 0x2a7e565d
je 0x1007f8f4
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1007f8fc
mov esi, dword [ebp - 0x1bc]
jmp 0x1007f890
mov ecx, dword [ebp - 0x1b8]
jmp 0x1007f8fe
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007f90c.2
jmp dword [eax*4 + 0x10080174]
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 0x1007f99b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x1b8], eax
mov esi, eax
jmp 0x1007f9a1
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100afae4]
movaps xmm0, xmm4
movss xmm1, dword [0x100afad8]
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 [0x100af90c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1007f99b
xor eax, eax
mov dword [ebp - 0x1b8], eax
jmp 0x1007f9aa
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1b8], esi
cmp esi, 0xa
je 0x100800e7
mov ecx, dword [0x100f9a94]
mov edi, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x1bc], eax
test eax, eax
je 0x100800e7
mov esi, dword [0x100f9a90]
lea eax, [ebp - 0x1a8]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x100800e7
xorps xmm0, xmm0
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1c0], 0
movups xmmword [ebp - 0x1d4], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fa10
sub ecx, edx
lea eax, [ebp - 0x198]
push ecx
push eax
lea ecx, [ebp - 0x1d4]
call fcn.10022110
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1d4]
mov ecx, 0x18
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x1c4], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
cmovb ecx, dword [ebp - 0x1c4]
cmp dword [ebp - 0x1c0], 0x10
push ecx
cmovae eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], 0
call fcn.10022110
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x1007faa9
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fa9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008010f
push ecx
push edx
call fcn.1009cb41
add esp, 8
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [ebp - 0x40]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c0]
movq qword [ebp - 0x28], xmm0
cmp ecx, 0x10
jb 0x1007faf9
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007faef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008010f
push ecx
push edx
call fcn.1009cb41
add esp, 8
mov eax, dword [ebp - 0x1ac]
mov edi, dword [eax + 8]
mov eax, dword [0x100fef40]
test al, 1
jne 0x1007fb49
or eax, 1
mov dword [0x100fef40], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c8]
call fcn.1003e900
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fef44
call fcn.1003ed70
push 0x100a7190
call fcn.1009cb2c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x100fef44]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1007fbc2
test esi, esi
je 0x1007fbc2
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007fbc2
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 0x1007fbab
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007fb85
xor edx, edx
test ecx, ecx
je 0x1007fbab
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007fb92
cmp edi, 0xa0d9523e
je 0x1007fbbd
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007fbc2
mov esi, dword [ebp - 0x18]
jmp 0x1007fb67
mov ecx, dword [ebp - 0x14]
jmp 0x1007fbc4
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007fbd2.2
jmp dword [eax*4 + 0x10080190]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007fc51
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007fc51
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100afae4]
movaps xmm0, xmm4
movss xmm1, dword [0x100afad8]
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 [0x100af90c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1007fc51
xor eax, eax
jmp 0x1007fc51
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x1ac]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x100fef40]
movss dword [ebp - 0x1c], xmm0
test al, 1
jne 0x1007fcad
or eax, 1
mov dword [0x100fef40], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.1003e900
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fef44
call fcn.1003ed70
push 0x100a7190
call fcn.1009cb2c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x100fef44]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1007fd30
test esi, esi
je 0x1007fd30
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007fd30
nop dword [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 0x1007fd19
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007fcf0
xor edx, edx
test ecx, ecx
je 0x1007fd19
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007fd00
cmp edi, 0x6b98ed8f
je 0x1007fd2b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007fd30
mov esi, dword [ebp - 0x18]
jmp 0x1007fcd0
mov ecx, dword [ebp - 0x14]
jmp 0x1007fd32
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007fd40.2
jmp dword [eax*4 + 0x100801ac]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007fdbf
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007fdbf
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100afae4]
movaps xmm0, xmm2
movss xmm3, dword [0x100afad8]
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 [0x100af90c]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1007fdbf
xor eax, eax
jmp 0x1007fdbf
mov eax, dword [ecx + 0xc]
mov edi, dword [ebp - 0x1b8]
cmp edi, 1
mov dword [ebp - 0x20], eax
mov eax, dword [0x100f9aec]
sete byte [0x100fa76c]
cmp byte [0x100bf020], 0
mov dword [0x100fee04], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x100fedfc], xmm0
addss xmm0, dword [0x100af90c]
movss dword [0x100fee00], xmm0
je 0x1007fe2d
mov ecx, dword [0x100f9ae4]
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
push 0
push dword [0x100ca29c]
push dword [0x100ca298]
call fcn.1009c4d0
cmp eax, dword [0x100ca29c]
je 0x1007ff30
lea ecx, [ebp - 0x20]
mov edx, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [edi + edi*2]
lea eax, [eax*8 + 0x100fa618]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.10044390
mov byte [ebp - 4], 7
lea edx, [ebp - 0x50]
mov eax, dword [0x100aa958]
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40a00000
push eax
call fcn.100273c0
add esp, 0x18
push eax
mov byte [ebp - 4], 8
call fcn.10026e60
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1ac]
test esi, esi
je 0x1007fedb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007fed5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007fed5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x1b8]
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.10026fd0
push 0x100ba240
call fcn.1002e6b0
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x1007ff30
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007ff26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007ff26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009cb41
add esp, 8
test edi, edi
je 0x100800e7
mov edi, dword [0x100fa738]
mov esi, dword [0x100fa734]
cmp esi, edi
je 0x1007ff77
nop dword [eax + eax]
mov edx, dword [0x100f9cd8]
mov eax, dword [0x100ba240]
add edx, 0xffffffc1
mov ecx, dword [esi + 0x18]
xor edx, 0xeb0cd6f
cmp ecx, dword [edx + eax]
jne 0x1007ff70
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1007ff50
mov eax, dword [0x100fa750]
test eax, eax
je 0x100800e7
mov edx, dword [0x100fa74c]
lea esi, [eax + edx]
mov dword [ebp - 0x14], esi
cmp edx, esi
je 0x100800e7
mov ecx, dword [0x100f9cd8]
mov eax, dword [0x100ba240]
add ecx, 0xffffffc1
mov edi, dword [0x100fa748]
xor ecx, 0xeb0cd6f
mov eax, dword [ecx + eax]
mov dword [ebp - 0x18], eax
nop dword [eax + eax]
mov ecx, dword [0x100fa744]
lea eax, [edi - 1]
and eax, edx
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x18]
cmp dword [ecx + 4], eax
jne 0x1007ffe5
mov eax, dword [ecx]
mov esi, dword [ebp - 0x1bc]
cmp dword [eax], esi
mov esi, dword [ebp - 0x14]
je 0x1007ffef
inc edx
cmp edx, esi
jne 0x1007ffc0
jmp 0x100800e7
mov eax, dword [ebp - 0x1b8]
movss xmm0, dword [ebp - 0x1c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [0x100fa764]
mov dword [ebp - 0x1b4], ecx
inc eax
mov ecx, dword [0x100fa75c]
movss dword [ebp - 0x1ac], xmm0
cmp ecx, eax
ja 0x1008002f
push ecx
mov ecx, 0x100fa754
call fcn.1002fd70
mov ecx, dword [0x100fa75c]
lea edi, [ecx - 1]
mov esi, edi
and esi, dword [0x100fa760]
mov dword [0x100fa760], esi
cmove esi, ecx
mov ecx, dword [0x100fa758]
dec esi
and edi, esi
cmp dword [ecx + edi*4], 0
jne 0x1008006b
push 0xc
call fcn.1009c6e2
mov ecx, dword [0x100fa758]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x100fa758]
mov ecx, dword [ecx + edi*4]
movq xmm0, qword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1ac]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x100fa764]
inc eax
mov dword [0x100fa760], esi
mov dword [0x100fa764], eax
cmp eax, 0x80
jbe 0x100800bd
nop dword [eax + eax]
add eax, 0xffffffff
mov dword [0x100fa764], eax
je 0x100800b3
cmp eax, 0x80
ja 0x100800a0
jmp 0x100800bd
mov dword [0x100fa760], 0
mov ecx, dword [ebp - 0x1bc]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0xa9c
lea eax, [eax + 0x100cbd38]
test eax, eax
je 0x100800e7
mov dword [eax + 0x46c], 0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x1008011f
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10080115
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10080115
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009cb41
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.1009c6c6
mov esp, ebp
pop ebp
ret 4