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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf525
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100e7380]
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 dword [ebp - 0x14], 0
mov eax, 0xf
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1009f1c6
cmp dword [0x1014f200], 0
je 0x1009f1c6
mov eax, dword [0x101ab388]
mov edi, dword [ecx + 8]
test al, 1
jne 0x1009e50d
or eax, 1
mov dword [0x101ab388], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.1004f2e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101ab38c
call fcn.1004f730
push 0x100d0e40
call fcn.100c4170
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101ab38c]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1009e599
test esi, esi
je 0x1009e599
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x240], ecx
test ecx, ecx
je 0x1009e599
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 0x1009e579
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009e550
xor edx, edx
test ecx, ecx
je 0x1009e579
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009e560
cmp edi, 0xd791104e
je 0x1009e591
mov ecx, dword [ebp - 0x240]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x240], ecx
test ecx, ecx
je 0x1009e599
mov esi, dword [ebp - 0x14]
jmp 0x1009e530
mov ecx, dword [ebp - 0x240]
jmp 0x1009e59b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100db0f8]
dec eax
movss xmm1, dword [0x100db0e4]
movss xmm5, dword [0x100dae48]
cmp eax, 6
ja case.0x1009e5bd.2
jmp dword [eax*4 + 0x1009f218]
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 0x1009e62b
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 0x1009e62b
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 0x1009e62b
xor edx, edx
jmp 0x1009e62b
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101a5c50]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x248]
mov ecx, dword [0x101ab388]
mov dword [ebp - 0x244], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1009e692
or ecx, 1
mov dword [0x101ab388], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.1004f2e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101ab38c
call fcn.1004f730
push 0x100d0e40
call fcn.100c4170
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101ab38c]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1009e719
test esi, esi
je 0x1009e719
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x240], ecx
test ecx, ecx
je 0x1009e719
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 0x1009e6f9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1009e6d1
xor edx, edx
test ecx, ecx
je 0x1009e6f9
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009e6e0
cmp edi, 0x11ab48ff
je 0x1009e711
mov ecx, dword [ebp - 0x240]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x240], ecx
test ecx, ecx
je 0x1009e719
mov esi, dword [ebp - 0x14]
jmp 0x1009e6b3
mov ecx, dword [ebp - 0x240]
jmp 0x1009e71b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009e729.2
jmp dword [eax*4 + 0x1009f234]
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 0x1009e7ac
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 0x1009e7ac
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100db0f8]
movaps xmm0, xmm4
movss xmm1, dword [0x100db0e4]
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 [0x100dae48]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1009e7ac
xor edx, edx
jmp 0x1009e7ac
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101a5c50]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x244]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1009f1c3
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1009f1c3
mov ecx, dword [0x101a5c50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1009f1c3
mov ecx, dword [0x101a5c50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1009f1c3
mov eax, dword [ebp - 0x248]
mov edi, dword [eax + 8]
mov eax, dword [0x101ab388]
test al, 1
jne 0x1009e857
or eax, 1
mov dword [0x101ab388], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.1004f2e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101ab38c
call fcn.1004f730
push 0x100d0e40
call fcn.100c4170
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101ab38c]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1009e8dc
test esi, esi
je 0x1009e8dc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x240], ecx
test ecx, ecx
je 0x1009e8dc
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 0x1009e8bc
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009e896
xor edx, edx
test ecx, ecx
je 0x1009e8bc
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009e8a3
cmp edi, 0x2a7e565d
je 0x1009e8d4
mov ecx, dword [ebp - 0x240]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x240], ecx
test ecx, ecx
je 0x1009e8dc
mov esi, dword [ebp - 0x14]
jmp 0x1009e878
mov ecx, dword [ebp - 0x240]
jmp 0x1009e8de
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009e8ec.2
jmp dword [eax*4 + 0x1009f250]
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 0x1009e97d
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x240], eax
mov esi, eax
jmp 0x1009e983
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100db0f8]
movaps xmm0, xmm4
movss xmm1, dword [0x100db0e4]
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 [0x100dae48]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1009e97d
mov dword [ebp - 0x240], 0
jmp 0x1009e98c
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x240], esi
cmp esi, 0xa
je 0x1009f1c3
mov ecx, dword [0x101a5c54]
mov edi, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x244], eax
test eax, eax
je 0x1009f1c3
mov esi, dword [0x101a5c50]
lea eax, [ebp - 0x23c]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x1009f1c3
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009e9f1
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.100304b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x264]
mov ecx, 0x18
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x254], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
cmovb ecx, dword [ebp - 0x254]
cmp dword [ebp - 0x250], 0xf
push ecx
cmova eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x20], 0
call fcn.100304b0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100406c0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1009ea96
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ea8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f1eb
push ecx
push edx
call fcn.100c418a
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x1009ead4
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009eaca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f1eb
push ecx
push edx
call fcn.100c418a
add esp, 8
mov eax, dword [ebp - 0x248]
mov edi, dword [eax + 8]
mov eax, dword [0x101ab388]
test al, 1
jne 0x1009eb24
or eax, 1
mov dword [0x101ab388], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.1004f2e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101ab38c
call fcn.1004f730
push 0x100d0e40
call fcn.100c4170
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101ab38c]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1009eba0
test esi, esi
je 0x1009eba0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009eba0
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 0x1009eb89
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009eb60
xor edx, edx
test ecx, ecx
je 0x1009eb89
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009eb70
cmp edi, 0xa0d9523e
je 0x1009eb9b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009eba0
mov esi, dword [ebp - 0x14]
jmp 0x1009eb42
mov ecx, dword [ebp - 0x18]
jmp 0x1009eba2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009ebb0.2
jmp dword [eax*4 + 0x1009f26c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009ec2f
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009ec2f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100db0f8]
movaps xmm0, xmm4
movss xmm1, dword [0x100db0e4]
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 [0x100dae48]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1009ec2f
xor eax, eax
jmp 0x1009ec2f
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x248]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x101ab388]
movss dword [ebp - 0x14], xmm0
test al, 1
jne 0x1009ec8b
or eax, 1
mov dword [0x101ab388], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.1004f2e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101ab38c
call fcn.1004f730
push 0x100d0e40
call fcn.100c4170
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101ab38c]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x1009ed13
test esi, esi
je 0x1009ed13
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009ed13
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 0x1009ecf9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1009ecd0
xor edx, edx
test ecx, ecx
je 0x1009ecf9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ece0
cmp edi, 0x6b98ed8f
je 0x1009ed0e
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1009ed13
mov esi, dword [ebp - 0x248]
jmp 0x1009ecb0
mov ecx, dword [ebp - 0x18]
jmp 0x1009ed15
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1009ed1f.2
jmp dword [eax*4 + 0x1009f288]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1009ed9e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1009ed9e
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100db0f8]
movaps xmm0, xmm2
movss xmm3, dword [0x100db0e4]
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 [0x100dae48]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1009ed9e
xor eax, eax
jmp 0x1009ed9e
mov eax, dword [ecx + 0xc]
mov esi, dword [ebp - 0x240]
movss xmm1, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmp esi, 1
jne 0x1009edc0
comiss xmm1, dword [0x100db044]
jb 0x1009edc0
inc dword [0x101a6980]
cmp byte [0x1015790c], 0
jne 0x1009eddf
cmp byte [0x10157a1c], 0
jne 0x1009eddf
cmp byte [0x10157994], 0
je 0x1009eed9
mov eax, dword [0x101a5cb0]
mov edi, dword [ebp - 0x244]
mov ecx, edi
mov dword [0x101ab1a4], 0x40000000
movss xmm0, dword [eax + 0x10]
movss dword [0x101ab19c], xmm0
addss xmm0, dword [0x100daec0]
movss dword [0x101a69cc], xmm1
movss dword [0x101ab1a0], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
push 0x101a69ec
push 0x101a69e0
mov ecx, edi
movss xmm0, dword [eax]
movss dword [0x101a69d4], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x101a69d8], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x101a5db0]
movss dword [0x101a69dc], xmm0
call eax
movss xmm0, dword [0x101a69e8]
mov ecx, dword [0x101a5ca8]
movss xmm1, dword [0x101a69d4]
movss xmm2, dword [0x101a69d8]
movss dword [0x101a69e8], xmm0
movss xmm0, dword [0x101a69f4]
addss xmm0, dword [0x100daf90]
push ecx
mov dword [esp], 0
push 0
movss dword [0x101a69e0], xmm1
movss dword [0x101a69e4], xmm2
movss dword [0x101a69ec], xmm1
movss dword [0x101a69f0], xmm2
movss dword [0x101a69f4], xmm0
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 1
push dword [0x10161dc4]
push dword [0x10161dc0]
call fcn.100c3a50
cmp eax, dword [0x10161dc4]
je 0x1009f122
cvttss2si eax, dword [ebp - 0x14]
push 0x98
push 0
mov dword [ebp - 0x244], eax
lea eax, [esi + esi*2]
lea esi, [eax*8 + 0x101a6878]
lea eax, [ebp - 0xe4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe4], 0x100d3f50
lea ecx, [ebp - 0x94]
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 - 0xe0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x14], 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 - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], 0x100d4108
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe0], 0x100d3ee8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
lea ecx, [ebp - 0xe4]
call fcn.100a0e20
add esp, 0x10
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xe0]
push eax
call fcn.10035dd0
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], 0x100d4108
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.1002f850
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x94]
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 [0x100d5448]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x41000000
push eax
call fcn.10035eb0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x101a5e40]
cmp ecx, dword [0x101a5e44]
je 0x1009f09b
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 [0x101a5e40], 8
jmp 0x1009f0a2
push edx
push ecx
call fcn.10036360
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x1009f0d1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1009f0d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1009f0d1
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.10035c00
push 0x1014f200
call fcn.1003fcc0
mov ecx, dword [ebp - 0x20]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x1009f122
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009f118
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009f118
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c418a
add esp, 8
mov edi, dword [0x101a699c]
mov esi, dword [0x101a6998]
cmp esi, edi
je 0x1009f159
mov edx, dword [0x101a5ec4]
mov eax, dword [0x1014f200]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0x23f81eb5
cmp ecx, dword [edx + eax]
jne 0x1009f152
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1009f132
mov ecx, dword [0x101a6990]
xor edx, edx
mov esi, dword [0x101a6994]
movss xmm1, dword [0x100db0e8]
add esi, ecx
cmp ecx, esi
je 0x1009f1c3
mov eax, dword [0x101a698c]
mov edi, dword [0x101a6988]
dec eax
mov dword [ebp - 0x14], eax
mov eax, ecx
and eax, dword [ebp - 0x14]
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x49], 0
jne 0x1009f1b6
mov edi, dword [0x101a5cb0]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
call fcn.10024a80
comiss xmm1, xmm0
mov edi, dword [0x101a6988]
jb 0x1009f1b6
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x1009f184
test edx, edx
je 0x1009f1c3
mov byte [edx + 0x49], 1
mov eax, dword [ebp - 0x38]
cmp eax, 0xf
jbe 0x1009f1fb
mov edx, dword [ebp - 0x4c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009f1f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009f1f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c418a
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.100c3c5c
mov esp, ebp
pop ebp
ret 4