Function at 0x10078c8b
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 0x100a056c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x100b3380]
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
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x24c], 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 0x10079912
cmp dword [0x100b75d8], 0
je 0x10079912
mov edi, dword [eax + 8]
mov eax, dword [0x100e1158]
test al, 1
jne 0x10078b6c
or eax, 1
mov dword [0x100e1158], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.1003aba0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100e115c
call fcn.1003b010
add esp, 4
push 0x100a1ae0
call fcn.10096b62
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100e115c]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x10078bfc
test esi, esi
je 0x10078bfc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10078bfc
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 0x10078bd9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10078bb0
xor edx, edx
test ecx, ecx
je 0x10078bd9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078bc0
cmp edi, 0xd791104e
je 0x10078bf4
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10078bfc
mov esi, dword [ebp - 0x248]
jmp 0x10078b90
mov ecx, dword [ebp - 0x244]
jmp 0x10078bfe
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100a906c]
dec eax
movss xmm1, dword [0x100a9064]
movss xmm5, dword [0x100a8eec]
cmp eax, 6
ja case.0x10078c20.2
jmp dword [eax*4 + 0x10079968]
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 0x10078c8e
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 0x10078c8e
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 0x10078c8e
xor edx, edx
jmp 0x10078c8e
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100df5d8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x24c]
mov ecx, dword [0x100e1158]
mov dword [ebp - 0x254], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10078cf8
or ecx, 1
mov dword [0x100e1158], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.1003aba0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100e115c
call fcn.1003b010
add esp, 4
push 0x100a1ae0
call fcn.10096b62
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100e115c]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x10078d8c
test esi, esi
je 0x10078d8c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10078d8c
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 0x10078d69
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10078d40
xor edx, edx
test ecx, ecx
je 0x10078d69
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078d50
cmp edi, 0x11ab48ff
je 0x10078d84
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10078d8c
mov esi, dword [ebp - 0x248]
jmp 0x10078d20
mov ecx, dword [ebp - 0x244]
jmp 0x10078d8e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10078d9c.2
jmp dword [eax*4 + 0x10079984]
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 0x10078e1f
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 0x10078e1f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a906c]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9064]
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 [0x100a8eec]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x10078e1f
xor edx, edx
jmp 0x10078e1f
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100df5d8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x254]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x10079912
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x10079912
mov ecx, dword [0x100df5d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x10079912
mov ecx, dword [0x100df5d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10079912
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x100e1158]
test al, 1
jne 0x10078ecd
or eax, 1
mov dword [0x100e1158], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.1003aba0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100e115c
call fcn.1003b010
add esp, 4
push 0x100a1ae0
call fcn.10096b62
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100e115c]
call eax
mov esi, eax
mov dword [ebp - 0x254], esi
test edi, edi
je 0x10078f6c
test esi, esi
je 0x10078f6c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10078f6c
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 0x10078f49
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10078f20
xor edx, edx
test ecx, ecx
je 0x10078f49
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078f30
cmp edi, 0x2a7e565d
je 0x10078f64
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10078f6c
mov esi, dword [ebp - 0x254]
jmp 0x10078f00
mov ecx, dword [ebp - 0x244]
jmp 0x10078f6e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10078f7c.2
jmp dword [eax*4 + 0x100799a0]
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 0x1007900d
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x248], eax
mov esi, eax
jmp 0x10079013
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a906c]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9064]
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 [0x100a8eec]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1007900d
mov dword [ebp - 0x248], 0
jmp 0x1007901c
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x248], esi
cmp esi, 0xa
je 0x10079912
mov ecx, dword [0x100df5dc]
mov edi, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x258], eax
test eax, eax
je 0x10079912
mov esi, dword [0x100df5d8]
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 0x10079912
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079081
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.1001f110
mov byte [ebp - 4], 4
lea eax, [ebp - 0x270]
mov ecx, 0x18
mov dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x260], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c0], xmm0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0xf
push ecx
cmova eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x2c0]
push eax
mov dword [ebp - 0x2ac], 0
call fcn.1001f110
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10079126
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007911c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079938
push ecx
push edx
call fcn.10096b77
add esp, 8
movups xmm0, xmmword [ebp - 0x2c0]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x2b0]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x25c]
movq qword [ebp - 0x40], xmm0
cmp ecx, 0xf
jbe 0x1007917c
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10079172
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079938
push ecx
push edx
call fcn.10096b77
add esp, 8
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x100e1158]
test al, 1
jne 0x100791cf
or eax, 1
mov dword [0x100e1158], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.1003aba0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100e115c
call fcn.1003b010
add esp, 4
push 0x100a1ae0
call fcn.10096b62
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100e115c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10079259
test esi, esi
je 0x10079259
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10079259
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 0x10079239
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10079210
xor edx, edx
test ecx, ecx
je 0x10079239
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079220
cmp edi, 0xa0d9523e
je 0x10079251
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10079259
mov esi, dword [ebp - 0x18]
jmp 0x100791f0
mov ecx, dword [ebp - 0x244]
jmp 0x1007925b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10079265.2
jmp dword [eax*4 + 0x100799bc]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100792e4
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100792e4
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100a906c]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9064]
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 [0x100a8eec]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x100792e4
xor eax, eax
jmp 0x100792e4
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x100e1158]
test al, 1
jne 0x1007933d
or eax, 1
mov dword [0x100e1158], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x264]
call fcn.1003aba0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100e115c
call fcn.1003b010
add esp, 4
push 0x100a1ae0
call fcn.10096b62
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100e115c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x100793c9
test esi, esi
je 0x100793c9
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x100793c9
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 0x100793a9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079380
xor edx, edx
test ecx, ecx
je 0x100793a9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079390
cmp edi, 0x6b98ed8f
je 0x100793c1
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x100793c9
mov esi, dword [ebp - 0x18]
jmp 0x10079360
mov ecx, dword [ebp - 0x24c]
jmp 0x100793cb
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100793d5.2
jmp dword [eax*4 + 0x100799d8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10079454
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10079454
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100a906c]
movaps xmm0, xmm2
movss xmm3, dword [0x100a9064]
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 [0x100a8eec]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1007945c
xor eax, eax
jmp 0x10079454
mov eax, dword [ecx + 0xc]
movss xmm2, dword [0x100a8eec]
mov ecx, dword [0x100df844]
mov esi, dword [ebp - 0x248]
add ecx, 0xffffffc8
mov dword [ebp - 0x20], eax
xor ecx, 0x7adaf697
mov eax, dword [0x100b75d8]
cmp esi, 1
movd xmm3, dword [ecx + eax]
mov eax, dword [0x100df638]
cvtdq2ps xmm3, xmm3
mulss xmm3, dword [eax + 0x20]
sete byte [0x100e02a0]
cmp byte [0x100c4e64], 0
movss dword [ebp - 0x18], xmm3
je 0x100794c6
mov dword [0x100c8774], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x100c876c], xmm0
addss xmm0, xmm2
movss dword [0x100c8770], xmm0
cmp byte [0x100c4f74], 0
je 0x100794fa
mov ecx, dword [0x100df62c]
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
movss xmm3, dword [ebp - 0x18]
test esi, esi
je 0x10079912
mov edi, dword [0x100e0270]
mov esi, dword [0x100e026c]
cmp esi, edi
je 0x10079539
mov edx, dword [0x100df844]
mov eax, dword [0x100b75d8]
add edx, 0xffffffc8
mov ecx, dword [esi + 0x18]
xor edx, 0x7adaf697
cmp ecx, dword [edx + eax]
jne 0x10079532
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10079512
mov ecx, dword [0x100e0264]
xor edi, edi
mov edx, dword [0x100e0268]
movss xmm2, dword [0x100a9068]
add edx, ecx
cmp ecx, edx
je 0x10079912
mov eax, dword [0x100e0260]
mov esi, dword [0x100e025c]
dec eax
mov dword [ebp - 0x18], eax
nop dword [eax + eax]
and eax, ecx
mov eax, dword [esi + eax*4]
cmp byte [eax + 0x32], 0
jne 0x100795a4
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm1, dword [eax + 8]
subss xmm0, xmm1
call fcn.10017180
comiss xmm0, dword [0x100a8eec]
ja 0x100795a4
comiss xmm2, xmm0
jbe 0x100795a4
movaps xmm2, xmm0
mov edi, eax
mov eax, dword [ebp - 0x18]
inc ecx
cmp ecx, edx
jne 0x10079570
test edi, edi
je 0x10079912
push 0
push dword [0x100c4ca0]
push dword [0x100c4c9c]
call fcn.100964f0
cmp eax, dword [0x100c4ca0]
je 0x100798be
movd xmm0, dword [ebp - 0x244]
mov esi, dword [0x100c5a84]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
comiss xmm0, dword [0x100ddbdc]
cvttss2si eax, xmm0
cmova esi, dword [0x100b75d4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x248]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x100e0198]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xe8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.1001e440
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 7
mov dword [ebp - 0x2a8], eax
mov ecx, 4
mov dword [ebp - 0x2a4], 4
lea eax, [ebp - 0x298]
mov dword [ebp - 0x244], edi
nop
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10079660
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x29c], 0x10020520
push dword [ebp - 0x2a8]
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0x18]
mov edx, str.hit__ss__s_for__i___i_remaining___n
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x298], fcn.100206a0
mov dword [ebp - 0x290], 0x10020520
mov dword [ebp - 0x28c], fcn.100206a0
mov dword [ebp - 0x284], 0x1002bd00
mov dword [ebp - 0x280], 0x1002be80
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], 0x1002bd00
mov dword [ebp - 0x274], 0x1002be80
call fcn.10017a70
add esp, 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xe4]
push eax
call fcn.1001e800
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100a3d7c
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.1001e390
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], 8
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
lea edi, [ebp - 0x38]
cmova eax, edx
cmova ecx, edx
add ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x24], 0xf
mov dword [ebp - 0x24c], eax
cmova edi, edx
mov dword [ebp - 0x18], ecx
cmp edi, ecx
je 0x100797c9
sub dword [ebp - 0x24c], edi
mov esi, dword [ebp - 0x24c]
nop dword [eax]
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + esi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x18]
jne 0x100797b0
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x41000000
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x250]
call fcn.10023960
add esp, 8
mov edx, eax
mov byte [ebp - 4], 9
mov ecx, dword [0x100df7c0]
cmp ecx, dword [0x100df7c4]
je 0x1007982d
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 [0x100df7c0], 8
jmp 0x10079834
push edx
push ecx
call fcn.10023c20
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x24c]
test esi, esi
je 0x10079863
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10079863
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10079863
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.10023860
push 0x100b75d8
call fcn.1002a9b0
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100798b8
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100798ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100798ae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10096b77
add esp, 8
mov edi, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x258]
add ecx, 8
mov byte [edi + 0x32], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x4f0
lea ecx, [eax + 0x100c89ac]
test ecx, ecx
je 0x10079912
mov dword [ecx + 0x34], 0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x408]
cmp eax, 5
je 0x10079901
cmp eax, 6
je 0x10079901
cmp eax, 8
jne 0x10079912
mov eax, dword [ecx + 0x48c]
test eax, eax
jle 0x10079912
dec eax
mov dword [ecx + 0x48c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10079948
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007993e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007993e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10096b77
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.100966fc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4