Function at 0x100b21a4
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 0x100d9403
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x100ea00c]
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]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x100b2596
cmp dword [0x1014b538], 0
je 0x100b2596
mov edi, dword [eax + 8]
mov eax, dword [0x10164fcc]
test al, 1
jne 0x100b1a1c
or eax, 1
mov dword [0x10164fcc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x198]
call fcn.1003cde0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10164fd0
call fcn.1003d2d0
add esp, 4
push 0x100dac10
call fcn.100cfeaf
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10164fd0]
call eax
mov esi, eax
mov dword [ebp - 0x1b0], esi
test edi, edi
je 0x100b1aac
test esi, esi
je 0x100b1aac
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x100b1aac
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 0x100b1a89
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100b1a60
xor edx, edx
test ecx, ecx
je 0x100b1a89
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b1a70
cmp edi, 0xd791104e
je 0x100b1aa4
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x100b1aac
mov esi, dword [ebp - 0x1b0]
jmp 0x100b1a40
mov ecx, dword [ebp - 0x1b4]
jmp 0x100b1aae
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm1, dword [0x100df08c]
dec eax
cmp eax, 6
ja case.0x100b1ac0.2
jmp dword [eax*4 + 0x100b25b8]
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 0x100b1b3b
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 0x100b1b3b
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100df094]
movaps xmm0, xmm4
andps xmm3, xmm4
movaps xmm2, xmm4
xorps xmm0, xmm3
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100deed8]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x100b1b3b
xor edx, edx
jmp 0x100b1b3b
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1015fe98]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1bc]
mov ecx, dword [0x10164fcc]
mov dword [ebp - 0x1b8], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x100b1ba5
or ecx, 1
mov dword [0x10164fcc], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.1003cde0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10164fd0
call fcn.1003d2d0
add esp, 4
push 0x100dac10
call fcn.100cfeaf
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10164fd0]
call eax
mov esi, eax
mov dword [ebp - 0x1b0], esi
test edi, edi
je 0x100b1c3c
test esi, esi
je 0x100b1c3c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x100b1c3c
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 0x100b1c19
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100b1bf0
xor edx, edx
test ecx, ecx
je 0x100b1c19
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b1c00
cmp edi, 0x11ab48ff
je 0x100b1c34
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x100b1c3c
mov esi, dword [ebp - 0x1b0]
jmp 0x100b1bd1
mov ecx, dword [ebp - 0x1b4]
jmp 0x100b1c3e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100b1c4c.2
jmp dword [eax*4 + 0x100b25d4]
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 0x100b1ccf
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 0x100b1ccf
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100df094]
movaps xmm0, xmm4
movss xmm1, dword [0x100df08c]
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 [0x100deed8]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x100b1ccf
xor edx, edx
jmp 0x100b1ccf
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1015fe98]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1b8]
mov esi, eax
mov dword [ebp - 0x1b0], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x100b2560
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x100b2560
mov ecx, dword [0x1015fe98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x100b2560
mov ecx, dword [0x1015fe98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100b2560
mov eax, dword [ebp - 0x1bc]
mov edi, dword [eax + 8]
mov eax, dword [0x10164fcc]
test al, 1
jne 0x100b1d80
or eax, 1
mov dword [0x10164fcc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
call fcn.1003cde0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10164fd0
call fcn.1003d2d0
add esp, 4
push 0x100dac10
call fcn.100cfeaf
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10164fd0]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test edi, edi
je 0x100b1e1c
test esi, esi
je 0x100b1e1c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x100b1e1c
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 0x100b1df9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100b1dd0
xor edx, edx
test ecx, ecx
je 0x100b1df9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b1de0
cmp edi, 0x2a7e565d
je 0x100b1e14
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x100b1e1c
mov esi, dword [ebp - 0x1b8]
jmp 0x100b1db0
mov ecx, dword [ebp - 0x1b4]
jmp 0x100b1e1e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100b1e2c.2
jmp dword [eax*4 + 0x100b25f0]
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 0x100b1ebd
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x1b4], eax
mov esi, eax
jmp 0x100b1ec3
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100df094]
movaps xmm0, xmm4
movss xmm1, dword [0x100df08c]
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 [0x100deed8]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x100b1ebd
mov dword [ebp - 0x1b4], 0
jmp 0x100b1ecc
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1b4], esi
cmp esi, 0xa
je 0x100b2560
mov ecx, dword [0x1015fe9c]
mov edi, dword [ebp - 0x1b0]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x100b2560
mov esi, dword [0x1015fe98]
lea eax, [ebp - 0x188]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x100b2560
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x194], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x190], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b1f34
sub ecx, edx
lea eax, [ebp - 0x178]
push ecx
push eax
lea ecx, [ebp - 0x1a4]
call fcn.10024c70
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100b1f84
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b1f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2586
push edx
push ecx
call fcn.100cfec4
add esp, 8
movups xmm0, xmmword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x194]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x194]
movq qword [ebp - 0x1c], xmm0
cmp ecx, 0x20
jbe 0x100b203d
cmp dword [ebp - 0x190], 0x10
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x1b0]
mov dword [ebp - 0x1c], 0x20
cmovae eax, dword [ebp - 0x1a4]
lea ecx, [edi + 1]
mov dword [ebp - 0x1b0], 0x2e2e2e
mov byte [eax + 0x20], 0
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x100b1fe0
mov edx, dword [ebp - 0x18]
sub edi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x100b2020
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x1b0]
add esi, ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x100b203d
lea eax, [ebp - 0x1b0]
mov byte [ebp - 0x1b8], 0
push eax
push dword [ebp - 0x1b8]
lea ecx, [ebp - 0x2c]
push edi
call fcn.10031d00
mov eax, dword [ebp - 0x1bc]
mov edi, dword [eax + 8]
mov eax, dword [0x10164fcc]
test al, 1
jne 0x100b2090
or eax, 1
mov dword [0x10164fcc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
call fcn.1003cde0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10164fd0
call fcn.1003d2d0
add esp, 4
push 0x100dac10
call fcn.100cfeaf
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10164fd0]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test edi, edi
je 0x100b211c
test esi, esi
je 0x100b211c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x100b211c
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 0x100b20f9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100b20d2
xor edx, edx
test ecx, ecx
je 0x100b20f9
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b20e0
cmp edi, 0xa0d9523e
je 0x100b2114
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b0], ecx
test ecx, ecx
je 0x100b211c
mov esi, dword [ebp - 0x1b8]
jmp 0x100b20b4
mov ecx, dword [ebp - 0x1b0]
jmp 0x100b211e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100b212c.2
jmp dword [eax*4 + 0x100b260c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100b21ab
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100b21ab
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100df094]
movaps xmm0, xmm2
movss xmm3, dword [0x100df08c]
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 [0x100deed8]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x100b21ab
xor eax, eax
jmp 0x100b21ab
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1bc]
mov edi, dword [eax + 8]
mov eax, dword [0x10164fcc]
test al, 1
jne 0x100b2204
or eax, 1
mov dword [0x10164fcc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x198]
call fcn.1003cde0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10164fd0
call fcn.1003d2d0
add esp, 4
push 0x100dac10
call fcn.100cfeaf
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10164fd0]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test edi, edi
je 0x100b228f
test esi, esi
je 0x100b228f
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x100b228f
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 0x100b226c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100b2246
xor edx, edx
test ecx, ecx
je 0x100b226c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b2253
cmp edi, 0x6b98ed8f
je 0x100b2287
mov ecx, dword [ebp - 0x1bc]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1bc], ecx
test ecx, ecx
je 0x100b228f
mov esi, dword [ebp - 0x1b8]
jmp 0x100b2228
mov ecx, dword [ebp - 0x1bc]
jmp 0x100b2291
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100b229b.2
jmp dword [eax*4 + 0x100b2628]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x100b22b6
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
cmp byte [0x1015684c], 0
je 0x100b22ee
mov eax, dword [0x1015fef8]
mov dword [0x10164e58], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x10164e50], xmm0
addss xmm0, dword [0x100deed8]
movss dword [0x10164e54], xmm0
mov eax, dword [0x10156d60]
and eax, 3
dec eax
cmp eax, 3
ja case.default.0x100b2300
jmp dword [eax*4 + 0x100b2644]
movaps xmm0, xmmword [0x100df5e0]
xor eax, eax
movaps xmm2, xmmword [0x100df800]
movups xmmword [ebp - 0x1ac], xmm0
mov word [ebp - 0x18c], 0x493f
movaps xmm0, xmmword [0x100df380]
movups xmmword [ebp - 0x19c], xmm0
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x1ac]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x1ac], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100b2340
cmp eax, 0x22
jae 0x100b2372
xor byte [ebp + eax - 0x1ac], 0x49
inc eax
cmp eax, 0x22
jb 0x100b2364
mov ecx, dword [0x1015fef0]
lea edx, [ebp - 0x1ac]
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 edx
call eax
jmp case.default.0x100b2300
push 5
push 0
push str.RIFF
jmp 0x100b23bb
push 5
push 0
push str.RIFF_
jmp 0x100b23bb
push 5
push 0
push 0x100ec5b8
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [ebp - 0x1b4], 0
je 0x100b2560
mov edi, dword [0x1015f4c8]
mov esi, dword [0x1015f4c4]
cmp esi, edi
je 0x100b2407
nop
mov edx, dword [0x101600b4]
mov eax, dword [0x1014b538]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0x6feb1b09
cmp ecx, dword [edx + eax]
jne 0x100b2400
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x100b23e0
mov eax, dword [0x1015f4e0]
test eax, eax
je 0x100b2560
mov edx, dword [0x1015f4dc]
lea esi, [eax + edx]
mov dword [ebp - 0x1bc], esi
cmp edx, esi
je 0x100b2560
mov ecx, dword [0x101600b4]
mov eax, dword [0x1014b538]
add ecx, 0xffffffc2
mov edi, dword [0x1015f4d8]
xor ecx, 0x6feb1b09
mov eax, dword [ecx + eax]
mov dword [ebp - 0x1b8], eax
nop
mov ecx, dword [0x1015f4d4]
lea eax, [edi - 1]
and eax, edx
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x1b8]
cmp dword [ecx + 4], eax
jne 0x100b247c
mov eax, dword [ecx]
mov esi, dword [ebp - 0x1c0]
cmp dword [eax + 4], esi
mov esi, dword [ebp - 0x1bc]
je 0x100b2486
inc edx
cmp edx, esi
jne 0x100b2450
jmp 0x100b2560
movd xmm0, dword [ebp - 0x1b0]
mov byte [eax], 1
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x198], ecx
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [0x1015f4ec]
mov dword [ebp - 0x194], eax
mov eax, dword [0x1015f4f4]
inc eax
movss dword [ebp - 0x190], xmm0
cmp ecx, eax
ja 0x100b24d5
push ecx
mov ecx, 0x1015f4e4
call fcn.100b28a0
mov ecx, dword [0x1015f4ec]
lea eax, [ecx - 1]
mov esi, eax
and esi, dword [0x1015f4f0]
mov dword [0x1015f4f0], esi
cmove esi, ecx
mov ecx, dword [0x1015f4e8]
dec esi
mov edi, esi
and edi, eax
cmp dword [ecx + edi*4], 0
jne 0x100b2513
push 0xc
call fcn.100cfa65
mov ecx, dword [0x1015f4e8]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x1015f4e8]
mov ecx, dword [ecx + edi*4]
movq xmm0, qword [ebp - 0x198]
mov eax, dword [ebp - 0x190]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x1015f4f4]
inc eax
mov dword [0x1015f4f0], esi
mov dword [0x1015f4f4], eax
cmp eax, 0x80
jbe 0x100b2560
sub eax, 1
mov ecx, 0
cmove esi, ecx
cmp eax, 0x80
ja 0x100b2543
mov dword [0x1015f4f0], esi
mov dword [0x1015f4f4], eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100b2596
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b258c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b258c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
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.100cfa49
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4