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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7095
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100ba008]
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 - 0x18], 0
mov eax, 0xf
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10082fb4
cmp dword [0x100ba240], 0
je 0x10082fb4
mov eax, dword [0x10114f38]
mov edi, dword [ecx + 8]
test al, 1
jne 0x1008218a
or eax, 1
mov dword [0x10114f38], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.1003f500
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10114f3c
call fcn.1003f970
push 0x100a8680
call fcn.1009e3bc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10114f3c]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1008221c
test esi, esi
je 0x1008221c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008221c
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 0x100821f9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100821d0
xor edx, edx
test ecx, ecx
je 0x100821f9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100821e0
cmp edi, 0xd791104e
je 0x10082214
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008221c
mov esi, dword [ebp - 0x260]
jmp 0x100821b0
mov ecx, dword [ebp - 0x258]
jmp 0x1008221e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100b01b8]
dec eax
movss xmm1, dword [0x100b01ac]
movss xmm5, dword [0x100afff0]
cmp eax, 6
ja case.0x10082240.2
jmp dword [eax*4 + 0x10083008]
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 0x100822ae
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 0x100822ae
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 0x100822ae
xor edx, edx
jmp 0x100822ae
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1010f900]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [0x10114f38]
mov dword [ebp - 0x25c], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10082312
or ecx, 1
mov dword [0x10114f38], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.1003f500
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10114f3c
call fcn.1003f970
push 0x100a8680
call fcn.1009e3bc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10114f3c]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1008239d
test esi, esi
je 0x1008239d
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008239d
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 0x1008237a
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10082354
xor edx, edx
test ecx, ecx
je 0x1008237a
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10082361
cmp edi, 0x11ab48ff
je 0x10082395
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008239d
mov esi, dword [ebp - 0x260]
jmp 0x10082336
mov ecx, dword [ebp - 0x258]
jmp 0x1008239f
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100823ad.2
jmp dword [eax*4 + 0x10083024]
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 0x10082430
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 0x10082430
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b01b8]
movaps xmm0, xmm4
movss xmm1, dword [0x100b01ac]
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 [0x100afff0]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x10082430
xor edx, edx
jmp 0x10082430
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1010f900]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x25c]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x10082fb1
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x10082fb1
mov ecx, dword [0x1010f900]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x10082fb1
mov ecx, dword [0x1010f900]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10082fb1
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x10114f38]
test al, 1
jne 0x100824d8
or eax, 1
mov dword [0x10114f38], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.1003f500
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10114f3c
call fcn.1003f970
push 0x100a8680
call fcn.1009e3bc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10114f3c]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1008256c
test esi, esi
je 0x1008256c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008256c
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 0x10082549
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10082520
xor edx, edx
test ecx, ecx
je 0x10082549
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10082530
cmp edi, 0x2a7e565d
je 0x10082564
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008256c
mov esi, dword [ebp - 0x260]
jmp 0x10082500
mov ecx, dword [ebp - 0x258]
jmp 0x1008256e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008257c.2
jmp dword [eax*4 + 0x10083040]
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 0x1008260d
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x25c], eax
mov esi, eax
jmp 0x10082613
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b01b8]
movaps xmm0, xmm4
movss xmm1, dword [0x100b01ac]
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 [0x100afff0]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x1008260d
mov dword [ebp - 0x25c], 0
jmp 0x1008261c
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x25c], esi
cmp esi, 0xa
je 0x10082fb1
mov ecx, dword [0x1010f904]
mov edi, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x260], eax
test eax, eax
je 0x10082fb1
mov esi, dword [0x1010f900]
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 0x10082fb1
xorps xmm0, xmm0
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x254], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082681
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.10023a60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x254]
mov ecx, 0x18
mov dword [ebp - 0x26c], 0
cmp dword [ebp - 0x244], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x27c], xmm0
cmovb ecx, dword [ebp - 0x244]
cmp dword [ebp - 0x240], 0x10
push ecx
cmovae eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x27c]
push eax
mov dword [ebp - 0x268], 0
call fcn.10023a60
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x10082726
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008271c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082fd9
push ecx
push edx
call fcn.1009e3d1
add esp, 8
movups xmm0, xmmword [ebp - 0x27c]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0x26c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x240]
movq qword [ebp - 0x24], xmm0
cmp ecx, 0x10
jb 0x1008277c
mov edx, dword [ebp - 0x254]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10082772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082fd9
push ecx
push edx
call fcn.1009e3d1
add esp, 8
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x10114f38]
test al, 1
jne 0x100827c9
or eax, 1
mov dword [0x10114f38], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.1003f500
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10114f3c
call fcn.1003f970
push 0x100a8680
call fcn.1009e3bc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10114f3c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10082859
test esi, esi
je 0x10082859
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x10082859
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 0x10082839
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10082810
xor edx, edx
test ecx, ecx
je 0x10082839
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10082820
cmp edi, 0xa0d9523e
je 0x10082851
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x10082859
mov esi, dword [ebp - 0x18]
jmp 0x100827f2
mov ecx, dword [ebp - 0x258]
jmp 0x1008285b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10082869.2
jmp dword [eax*4 + 0x1008305c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100828e8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100828e8
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b01b8]
movaps xmm0, xmm4
movss xmm1, dword [0x100b01ac]
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 [0x100afff0]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x100828e8
xor eax, eax
jmp 0x100828e8
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x10114f38]
test al, 1
jne 0x1008293b
or eax, 1
mov dword [0x10114f38], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.1003f500
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10114f3c
call fcn.1003f970
push 0x100a8680
call fcn.1009e3bc
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10114f3c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x100829c0
test esi, esi
je 0x100829c0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100829c0
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 0x100829a9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10082980
xor edx, edx
test ecx, ecx
je 0x100829a9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10082990
cmp edi, 0x6b98ed8f
je 0x100829bb
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100829c0
mov esi, dword [ebp - 0x18]
jmp 0x10082960
mov ecx, dword [ebp - 0x14]
jmp 0x100829c2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100829cc.2
jmp dword [eax*4 + 0x10083078]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10082a4b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10082a4b
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100b01b8]
movaps xmm0, xmm2
movss xmm3, dword [0x100b01ac]
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 [0x100afff0]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x10082a4b
xor eax, eax
jmp 0x10082a4b
mov eax, dword [ecx + 0xc]
cmp byte [0x100be73c], 0
mov dword [ebp - 0x1c], eax
je 0x10082aa9
mov eax, dword [0x1010f960]
mov ecx, dword [0x1010f958]
mov dword [0x10114da8], 0x40000000
push ecx
movss xmm0, dword [eax + 0x10]
movss dword [0x10114da0], xmm0
addss xmm0, dword [0x100b0018]
mov dword [esp], 0
push 0
push 0x64
push ecx
movss dword [0x10114da4], xmm0
mov eax, dword [ecx]
mov dword [esp], 0x3f800000
push str.buttons_arena_switch_press_02.wav
mov eax, dword [eax + 0x30]
call eax
movd xmm0, dword [ebp - 0x258]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
cvttss2si eax, xmm0
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x25c]
lea eax, [eax + eax*2]
lea esi, [eax*8 + 0x101104a8]
lea eax, [ebp - 0xe4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe4], 0x100aa700
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 - 0x18], 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], 0x100aa6fc
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], 0x100aa6ac
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x34]
push esi
push eax
lea ecx, [ebp - 0xe4]
call fcn.10083640
add esp, 0x10
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0xe0]
push eax
call fcn.10027bb0
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], 0x100aa6fc
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.10022e90
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 - 0x4c]
mov eax, dword [0x100ab334]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40a00000
push eax
call fcn.10027c90
add esp, 8
push eax
mov byte [ebp - 4], 0xb
call fcn.10027970
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x10082c54
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10082c54
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10082c54
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.10023000
push 0x100ba240
call fcn.1002f930
add esp, 0x1c
cmp dword [ebp - 0x25c], 0
je 0x10082f6f
mov edi, dword [0x101105c8]
mov esi, dword [0x101105c4]
cmp esi, edi
je 0x10082cb7
nop dword [eax]
mov edx, dword [0x1010fb90]
mov eax, dword [0x100ba240]
add edx, 0xffffffc1
mov ecx, dword [esi + 0x18]
xor edx, 0xf0ad5dae
cmp ecx, dword [edx + eax]
jne 0x10082cb0
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10082c90
mov eax, dword [0x101105e0]
test eax, eax
je 0x10082f6f
mov edx, dword [0x101105dc]
lea edi, [eax + edx]
mov dword [ebp - 0x18], edi
cmp edx, edi
je 0x10082f6f
mov ecx, dword [0x1010fb90]
mov esi, dword [0x101105d8]
add ecx, 0xffffffc1
mov eax, dword [0x100ba240]
dec esi
xor ecx, 0xf0ad5dae
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx + eax]
nop dword [eax]
mov eax, edx
and eax, esi
mov esi, dword [0x101105d4]
mov esi, dword [esi + eax*4]
cmp dword [esi + 4], ecx
jne 0x10082d21
mov eax, dword [esi]
mov edi, dword [ebp - 0x260]
cmp dword [eax], edi
mov edi, dword [ebp - 0x18]
je 0x10082d2f
inc edx
cmp edx, edi
je 0x10082f6f
mov esi, dword [ebp - 0x14]
jmp 0x10082d00
movd xmm0, dword [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
mov ecx, dword [0x101105ec]
mov dword [ebp - 0x244], eax
mov eax, dword [0x101105f4]
cvtdq2ps xmm0, xmm0
inc eax
mov dword [ebp - 0x248], esi
movss dword [ebp - 0x240], xmm0
cmp ecx, eax
ja 0x10082d75
push ecx
mov ecx, 0x101105e4
call fcn.10030e80
mov ecx, dword [0x101105ec]
lea eax, [ecx - 1]
mov edi, eax
and edi, dword [0x101105f0]
mov dword [0x101105f0], edi
cmove edi, ecx
mov ecx, dword [0x101105e8]
dec edi
and eax, edi
mov dword [ebp - 0x14], eax
cmp dword [ecx + eax*4], 0
jne 0x10082db9
push 0xc
call fcn.1009df72
mov ecx, dword [0x101105e8]
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4], eax
mov eax, edx
mov ecx, dword [0x101105e8]
mov ecx, dword [ecx + eax*4]
movq xmm0, qword [ebp - 0x248]
mov eax, dword [ebp - 0x240]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x101105f4]
inc eax
mov dword [0x101105f0], edi
mov dword [0x101105f4], eax
cmp eax, 0x80
jbe 0x10082e0d
nop dword [eax]
add eax, 0xffffffff
mov dword [0x101105f4], eax
je 0x10082e03
cmp eax, 0x80
ja 0x10082df0
jmp 0x10082e0d
mov dword [0x101105f0], 0
mov ecx, dword [ebp - 0x260]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x1014
lea ecx, [eax + 0x100cb8a8]
test ecx, ecx
je 0x10082f6f
mov dword [ecx + 0x768], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x438]
cmp eax, 0xc
jne 0x10082e65
mov eax, dword [ecx + 0x78c]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x78c], eax
jmp 0x10082f6f
cmp eax, 0x26
jne 0x10082e84
mov eax, dword [ecx + 0x80c]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x80c], eax
jmp 0x10082f6f
cmp eax, 7
jne 0x10082ea3
mov eax, dword [ecx + 0x794]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x794], eax
jmp 0x10082f6f
cmp eax, 9
jne 0x10082ec2
mov eax, dword [ecx + 0x798]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x798], eax
jmp 0x10082f6f
cmp eax, 6
jne 0x10082ee1
mov eax, dword [ecx + 0x7cc]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7cc], eax
jmp 0x10082f6f
cmp eax, 0xa
jne 0x10082ef9
mov eax, dword [ecx + 0x7d0]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7d0], eax
jmp 0x10082f6f
cmp eax, 2
jne 0x10082f11
mov eax, dword [ecx + 0x7ec]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7ec], eax
jmp 0x10082f6f
cmp eax, 0xb
jne 0x10082f29
mov eax, dword [ecx + 0x7dc]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7dc], eax
jmp 0x10082f6f
cmp eax, 5
jne 0x10082f41
mov eax, dword [ecx + 0x7bc]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7bc], eax
jmp 0x10082f6f
cmp eax, 0x25
jne 0x10082f59
mov eax, dword [ecx + 0x7e0]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7e0], eax
jmp 0x10082f6f
cmp eax, 0xd
jne 0x10082f6f
mov eax, dword [ecx + 0x7f0]
test eax, eax
jle 0x10082f6f
dec eax
mov dword [ecx + 0x7f0], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x10082f9f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10082f95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082fd9
push ecx
push edx
call fcn.1009e3d1
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10082fe9
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10082fdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10082fdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009e3d1
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.1009df56
mov esp, ebp
pop ebp
ret 4