Function at 0x100867f8
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 0x100aece5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x100c3008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
mov eax, 0xf
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24c], 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 0x1008722f
cmp dword [0x100c3240], 0
je 0x1008722f
mov eax, dword [0x1010a0e8]
mov edi, dword [ecx + 8]
test al, 1
jne 0x10086554
or eax, 1
mov dword [0x1010a0e8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.10042d00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010a0ec
call fcn.10043170
add esp, 4
push 0x100b0420
call fcn.100a57ac
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1010a0ec]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x100865df
test esi, esi
je 0x100865df
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x100865df
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 0x100865bc
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086596
xor edx, edx
test ecx, ecx
je 0x100865bc
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100865a3
cmp edi, 0xd791104e
je 0x100865d7
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x100865df
mov esi, dword [ebp - 0x248]
jmp 0x10086578
mov ecx, dword [ebp - 0x244]
jmp 0x100865e1
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100b8840]
dec eax
movss xmm1, dword [0x100b8838]
movss xmm5, dword [0x100b8664]
cmp eax, 6
ja case.0x10086603.2
jmp dword [eax*4 + 0x10087284]
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 0x10086671
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 0x10086671
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 0x10086671
xor edx, edx
jmp 0x10086671
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101049c8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x24c]
mov ecx, dword [0x1010a0e8]
mov dword [ebp - 0x18], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x100866d8
or ecx, 1
mov dword [0x1010a0e8], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.10042d00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010a0ec
call fcn.10043170
add esp, 4
push 0x100b0420
call fcn.100a57ac
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1010a0ec]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x1008676c
test esi, esi
je 0x1008676c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1008676c
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 0x10086749
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086722
xor edx, edx
test ecx, ecx
je 0x10086749
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086730
cmp edi, 0x11ab48ff
je 0x10086764
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1008676c
mov esi, dword [ebp - 0x248]
jmp 0x10086704
mov ecx, dword [ebp - 0x244]
jmp 0x1008676e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008677c.2
jmp dword [eax*4 + 0x100872a0]
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 0x100867ff
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 0x100867ff
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b8840]
movaps xmm0, xmm4
movss xmm1, dword [0x100b8838]
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 [0x100b8664]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x100867ff
xor edx, edx
jmp 0x100867ff
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101049c8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1008722c
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1008722c
mov ecx, dword [0x101049c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1008722c
mov ecx, dword [0x101049c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1008722c
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x1010a0e8]
test al, 1
jne 0x100868aa
or eax, 1
mov dword [0x1010a0e8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.10042d00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010a0ec
call fcn.10043170
add esp, 4
push 0x100b0420
call fcn.100a57ac
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1010a0ec]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x1008694c
test esi, esi
je 0x1008694c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1008694c
nop word [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 0x10086929
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086900
xor edx, edx
test ecx, ecx
je 0x10086929
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086910
cmp edi, 0x2a7e565d
je 0x10086944
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1008694c
mov esi, dword [ebp - 0x248]
jmp 0x100868e0
mov ecx, dword [ebp - 0x244]
jmp 0x1008694e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008695c.2
jmp dword [eax*4 + 0x100872bc]
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 0x100869e8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x244], eax
mov esi, eax
jmp 0x100869ee
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b8840]
movaps xmm0, xmm4
movss xmm1, dword [0x100b8838]
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 [0x100b8664]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x100869e8
xor esi, esi
jmp 0x100869e8
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x244], esi
cmp byte [0x100c88cc], 0
je 0x10086a1d
mov ecx, dword [0x10104a20]
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
cmp byte [0x100c8844], 0
je 0x10086a52
mov eax, dword [0x10104a28]
mov dword [0x10109f48], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x10109f40], xmm0
addss xmm0, dword [0x100b8664]
movss dword [0x10109f44], xmm0
cmp esi, 0xa
je 0x1008722c
mov ecx, dword [0x101049cc]
mov esi, dword [ebp - 0x1c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1008722c
mov ecx, dword [0x101049c8]
lea edx, [ebp - 0x240]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1008722c
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x258], 0
movups xmmword [ebp - 0x26c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086ab8
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.10025cf0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x26c]
mov ecx, 0x18
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x25c], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
cmovb ecx, dword [ebp - 0x25c]
cmp dword [ebp - 0x258], 0x10
push ecx
cmovae eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], 0
call fcn.10025cf0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x10086b51
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086b47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10087254
push ecx
push edx
call fcn.100a57c1
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 - 0x258]
movq qword [ebp - 0x28], xmm0
cmp ecx, 0x10
jb 0x10086ba1
mov edx, dword [ebp - 0x26c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086b97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10087254
push ecx
push edx
call fcn.100a57c1
add esp, 8
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x1010a0e8]
test al, 1
jne 0x10086bf4
or eax, 1
mov dword [0x1010a0e8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.10042d00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010a0ec
call fcn.10043170
add esp, 4
push 0x100b0420
call fcn.100a57ac
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1010a0ec]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x10086c70
test esi, esi
je 0x10086c70
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086c70
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 0x10086c59
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086c30
xor edx, edx
test ecx, ecx
je 0x10086c59
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086c40
cmp edi, 0xa0d9523e
je 0x10086c6b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086c70
mov esi, dword [ebp - 0x1c]
jmp 0x10086c12
mov ecx, dword [ebp - 0x18]
jmp 0x10086c72
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086c80.2
jmp dword [eax*4 + 0x100872d8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10086cff
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10086cff
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b8840]
movaps xmm0, xmm4
movss xmm1, dword [0x100b8838]
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 [0x100b8664]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10086cff
xor eax, eax
jmp 0x10086cff
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x24c]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1010a0e8]
movss dword [ebp - 0x248], xmm0
test al, 1
jne 0x10086d61
or eax, 1
mov dword [0x1010a0e8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x260]
call fcn.10042d00
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010a0ec
call fcn.10043170
add esp, 4
push 0x100b0420
call fcn.100a57ac
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x1010a0ec]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x10086de0
test esi, esi
je 0x10086de0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086de0
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 0x10086dc9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086da0
xor edx, edx
test ecx, ecx
je 0x10086dc9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086db0
cmp edi, 0x6b98ed8f
je 0x10086ddb
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086de0
mov esi, dword [ebp - 0x1c]
jmp 0x10086d80
mov ecx, dword [ebp - 0x18]
jmp 0x10086de2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086df0.2
jmp dword [eax*4 + 0x100872f4]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov ecx, eax
jmp 0x10086e73
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov ecx, eax
jmp 0x10086e73
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100b8840]
movaps xmm0, xmm2
movss xmm3, dword [0x100b8838]
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 [0x100b8664]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si ecx, xmm1
jmp 0x10086e73
xor ecx, ecx
jmp 0x10086e73
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0x244]
movss xmm0, dword [ebp - 0x248]
mov dword [ebp - 0x20], ecx
cmp edx, 1
jne 0x10086e97
cvttss2si eax, xmm0
cmp eax, ecx
jl 0x10086e97
inc dword [0x10105678]
cmp byte [0x100d5360], 0
je 0x10087182
cvttss2si eax, xmm0
push 0x98
push 0
mov dword [ebp - 0x248], eax
lea eax, [edx + edx*2]
lea esi, [eax*8 + 0x10105570]
lea eax, [ebp - 0xe8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x100b26e4
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 - 0x1c], 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], 0x100b26e0
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], 0x100b2690
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x2a4], eax
mov ecx, 4
mov dword [ebp - 0x2a0], 4
lea eax, [ebp - 0x294]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10086f83
push dword [ebp - 0x2a0]
mov dword [ebp - 0x250], 0x10034960
lea eax, [ebp - 0x38]
push dword [ebp - 0x2a4]
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0xe8]
movq xmm0, qword [ebp - 0x254]
lea eax, [ebp - 0x248]
movq qword [ebp - 0x29c], xmm0
mov edx, str.Hit__s_in_the__s_for__i_damage___i_health_remaining__n
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], 0x10034960
movq xmm0, qword [ebp - 0x254]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x20]
movq qword [ebp - 0x290], xmm0
mov dword [ebp - 0x250], 0x10034980
movq xmm0, qword [ebp - 0x254]
movq qword [ebp - 0x284], xmm0
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0x10034980
movq xmm0, qword [ebp - 0x254]
mov dword [ebp - 0x294], fcn.1002a9a0
mov dword [ebp - 0x288], fcn.1002a9a0
mov dword [ebp - 0x27c], 0x100349a0
movq qword [ebp - 0x278], xmm0
mov dword [ebp - 0x270], 0x100349a0
call fcn.10027950
add esp, 8
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xe4]
push eax
call fcn.1002a200
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100b26e0
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.100252f0
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 [0x100b3678]
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x40a00000
push eax
call fcn.1002a2e0
add esp, 8
push eax
mov byte [ebp - 4], 0xb
call fcn.10029ec0
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x24c]
test esi, esi
je 0x10087131
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10087131
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10087131
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.1002a030
push 0x100c3240
call fcn.100321d0
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x10087182
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10087178
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10087178
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a57c1
add esp, 8
mov edi, dword [0x10105698]
mov esi, dword [0x10105694]
cmp esi, edi
je 0x100871b9
mov edx, dword [0x10104c54]
mov eax, dword [0x100c3240]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0xe49bf691
cmp ecx, dword [edx + eax]
jne 0x100871b2
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10087192
mov ecx, dword [0x1010568c]
xor edx, edx
mov esi, dword [0x10105690]
movss xmm1, dword [0x100b883c]
add esi, ecx
mov dword [ebp - 0x248], esi
cmp ecx, esi
je 0x1008722c
mov edi, dword [0x10105688]
mov esi, dword [0x10105684]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x248]
cmp byte [eax + 0x49], 0
jne 0x1008721f
mov esi, dword [0x10104a28]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
call fcn.1001e260
comiss xmm1, xmm0
mov esi, dword [ebp - 0x248]
jb 0x1008721f
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x100871e1
test edx, edx
je 0x1008722c
mov byte [edx + 0x49], 1
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10087264
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008725a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008725a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a57c1
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.100a5346
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4