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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b49f5
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100c9040]
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 - 0x38], xmm0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1008ddf4
cmp dword [0x100c92a8], 0
je 0x1008ddf4
mov eax, dword [0x10170140]
mov edi, dword [ecx + 8]
test al, 1
jne 0x1008d09a
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
push 0x100b60d0
call fcn.100abf5c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x244], esi
test edi, edi
je 0x1008d12c
test esi, esi
je 0x1008d12c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d12c
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 0x1008d109
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d0e0
xor edx, edx
test ecx, ecx
je 0x1008d109
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d0f0
cmp edi, 0xd791104e
je 0x1008d124
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d12c
mov esi, dword [ebp - 0x244]
jmp 0x1008d0c0
mov ecx, dword [ebp - 0x248]
jmp 0x1008d12e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100beaec]
dec eax
movss xmm1, dword [0x100beae4]
movss xmm5, dword [0x100be930]
cmp eax, 6
ja case.0x1008d150.2
jmp dword [eax*4 + 0x1008de48]
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 0x1008d1be
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 0x1008d1be
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 0x1008d1be
xor edx, edx
jmp 0x1008d1be
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1016a7c8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x10170140]
mov dword [ebp - 0x1c], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1008d21f
or ecx, 1
mov dword [0x10170140], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
push 0x100b60d0
call fcn.100abf5c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x244], esi
test edi, edi
je 0x1008d2ac
test esi, esi
je 0x1008d2ac
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d2ac
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 0x1008d289
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d261
xor edx, edx
test ecx, ecx
je 0x1008d289
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d270
cmp edi, 0x11ab48ff
je 0x1008d2a4
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d2ac
mov esi, dword [ebp - 0x244]
jmp 0x1008d243
mov ecx, dword [ebp - 0x248]
jmp 0x1008d2ae
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d2bc.2
jmp dword [eax*4 + 0x1008de64]
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 0x1008d33f
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 0x1008d33f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100beaec]
movaps xmm0, xmm4
movss xmm1, dword [0x100beae4]
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 [0x100be930]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1008d33f
xor edx, edx
jmp 0x1008d33f
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1016a7c8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x14], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1008ddf1
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1008ddf1
mov ecx, dword [0x1016a7c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1008ddf1
mov ecx, dword [0x1016a7c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1008ddf1
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [0x10170140]
test al, 1
jne 0x1008d3e4
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
push 0x100b60d0
call fcn.100abf5c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x1008d469
test esi, esi
je 0x1008d469
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d469
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 0x1008d449
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d423
xor edx, edx
test ecx, ecx
je 0x1008d449
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d430
cmp edi, 0x2a7e565d
je 0x1008d461
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d469
mov esi, dword [ebp - 0x1c]
jmp 0x1008d405
mov ecx, dword [ebp - 0x248]
jmp 0x1008d46b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d479.2
jmp dword [eax*4 + 0x1008de80]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1008d4fe
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1008d4fe
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100beaec]
movaps xmm0, xmm4
movss xmm1, dword [0x100beae4]
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 [0x100be930]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1008d4fe
xor eax, eax
mov dword [ebp - 0x244], eax
jmp 0x1008d50d
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x244], eax
cmp eax, 0xa
je 0x1008ddf1
mov ecx, dword [0x1016a7cc]
mov esi, dword [ebp - 0x14]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1008ddf1
mov ecx, dword [0x1016a7c8]
lea edx, [ebp - 0x240]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1008ddf1
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008d570
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.1002a7d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x264]
mov ecx, 0x18
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x254], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
cmovb ecx, dword [ebp - 0x254]
cmp dword [ebp - 0x250], 0xf
push ecx
cmova eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], 0
call fcn.1002a7d0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1008d609
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d5ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de19
push ecx
push edx
call fcn.100abf71
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 - 0x250]
movq qword [ebp - 0x28], xmm0
cmp ecx, 0xf
jbe 0x1008d659
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d64f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de19
push ecx
push edx
call fcn.100abf71
add esp, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [0x10170140]
test al, 1
jne 0x1008d6a6
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
push 0x100b60d0
call fcn.100abf5c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1008d72b
test esi, esi
je 0x1008d72b
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d72b
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 0x1008d70b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d6e5
xor edx, edx
test ecx, ecx
je 0x1008d70b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d6f2
cmp edi, 0xa0d9523e
je 0x1008d723
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x248], ecx
test ecx, ecx
je 0x1008d72b
mov esi, dword [ebp - 0x14]
jmp 0x1008d6c7
mov ecx, dword [ebp - 0x248]
jmp 0x1008d72d
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d73b.2
jmp dword [eax*4 + 0x1008de9c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1008d7ba
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1008d7ba
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100beaec]
movaps xmm0, xmm4
movss xmm1, dword [0x100beae4]
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 [0x100be930]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x1008d7ba
xor eax, eax
jmp 0x1008d7ba
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [0x10170140]
test al, 1
jne 0x1008d80d
or eax, 1
mov dword [0x10170140], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.10048080
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10170144
call fcn.100484f0
push 0x100b60d0
call fcn.100abf5c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10170144]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1008d890
test esi, esi
je 0x1008d890
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1008d890
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 0x1008d879
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d850
xor edx, edx
test ecx, ecx
je 0x1008d879
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d860
cmp edi, 0x6b98ed8f
je 0x1008d88b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1008d890
mov esi, dword [ebp - 0x14]
jmp 0x1008d830
mov ecx, dword [ebp - 0x18]
jmp 0x1008d892
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d89c.2
jmp dword [eax*4 + 0x1008deb8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1008d91b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1008d91b
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100beaec]
movaps xmm0, xmm2
movss xmm3, dword [0x100beae4]
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 [0x100be930]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1008d91b
xor eax, eax
jmp 0x1008d91b
mov eax, dword [ecx + 0xc]
mov edi, dword [ebp - 0x244]
cmp edi, 1
mov dword [ebp - 0x20], eax
mov eax, dword [0x1016a824]
sete byte [0x1016b535]
cmp byte [0x100d381c], 0
mov dword [0x1016fffc], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x1016fff4], xmm0
addss xmm0, dword [0x100be930]
movss dword [0x1016fff8], xmm0
je 0x1008d989
mov ecx, dword [0x1016a81c]
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 [0x100dfdc8]
push dword [0x100dfdc4]
call fcn.100ab8f0
cmp eax, dword [0x100dfdc8]
je 0x1008dbe0
movd xmm0, dword [ebp - 0x248]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
cvttss2si eax, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [edi + edi*2]
lea esi, [eax*8 + 0x1016b450]
lea eax, [ebp - 0xe8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x100b891c
lea ecx, [ebp - 0x98]
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 - 0xe4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xe8]
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 - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100b8918
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 dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe4], 0x100b8760
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0xe8]
call fcn.1008f600
add esp, 0x10
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xe4]
push eax
call fcn.1002fd20
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100b8918
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.10029fa0
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], 0xa
lea edx, [ebp - 0x50]
mov eax, dword [0x100b97ac]
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.1002ff30
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x100ce8cc]
cmp ecx, dword [0x100ce8d0]
je 0x1008db4f
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 [0x100ce8cc], 8
jmp 0x1008db56
push edx
push ecx
call fcn.10030460
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x1008db8b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1008db85
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1008db85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x244]
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.1002fb50
push 0x100c92a8
call fcn.10037210
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1008dbe0
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008dbd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008dbd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100abf71
add esp, 8
test edi, edi
je 0x1008ddf1
mov edi, dword [0x1016b528]
mov esi, dword [0x1016b524]
cmp esi, edi
je 0x1008dc27
nop dword [eax + eax]
mov edx, dword [0x1016aa48]
mov eax, dword [0x100c92a8]
add edx, 0xffffffbc
mov ecx, dword [esi + 0x18]
xor edx, 0x74ce7917
cmp ecx, dword [edx + eax]
jne 0x1008dc20
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1008dc00
mov ecx, dword [0x1016b51c]
xor esi, esi
mov edx, dword [0x1016b520]
movss xmm1, dword [0x100beae8]
add edx, ecx
cmp ecx, edx
je 0x1008ddf1
mov eax, dword [0x1016b518]
mov edi, dword [0x1016b514]
dec eax
mov dword [ebp - 0x14], eax
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x31], 0
jne 0x1008dc85
mov edi, dword [0x1016a824]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
call fcn.100237d0
comiss xmm1, xmm0
mov edi, dword [0x1016b514]
jb 0x1008dc85
movaps xmm1, xmm0
mov esi, eax
mov eax, dword [ebp - 0x14]
inc ecx
cmp ecx, edx
jne 0x1008dc56
test esi, esi
je 0x1008ddf1
mov ecx, dword [0x1016a7c8]
mov edi, dword [esi + 4]
mov dword [ebp - 0x244], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1008dde8
cmp dword [0x100c92a8], 0
je 0x1008dde8
cmp byte [edi + 0x6fc], 0
je 0x1008dde8
mov ecx, dword [0x1016a7c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x1008dde4
cmp dword [0x100c92a8], 0
je 0x1008dde4
mov ecx, dword [edi]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, edi
call dword [ebp - 0x14]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x1c]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
mov ecx, dword [0x1016a870]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x1c]
mov eax, dword [ecx]
addss xmm0, dword [0x100c9c5c]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x1c], xmm0
call eax
movss xmm1, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
comiss xmm1, dword [0x100be820]
lea ecx, [ebp - 0x14]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
cmovae ecx, eax
movss dword [ebp - 0x248], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x248]
mov dword [ebp - 0x14], 0
cmovae eax, ecx
mov ecx, dword [0x100c92a8]
movss xmm1, dword [eax]
mov eax, dword [0x1016aa18]
add eax, 0xffffffc8
xor eax, 0x74ce790b
cmp dword [eax + ecx], 0
jne 0x1008ddba
mov eax, dword [0x1016aa48]
add eax, 0xffffffbc
xor eax, 0x74ce7917
movd xmm0, dword [eax + ecx]
mov eax, dword [0x1016a824]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1008ddc4
mov eax, dword [0x1016a824]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x244]
subss xmm0, dword [eax + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.100237d0
comiss xmm0, dword [0x100be8a8]
ja 0x1008dde8
mov al, 1
jmp 0x1008ddea
xor al, al
mov byte [esi + 0x48], al
mov byte [esi + 0x31], 1
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x1008de29
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008de1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008de1f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100abf71
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.100abaf6
mov esp, ebp
pop ebp
ret 4