Function at 0x10035568
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 0x100b9f38
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b8
mov eax, dword [0x100dc380]
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 - 0x18], 0
mov eax, 0xf
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10036157
cmp dword [0x100ff550], 0
je 0x10036157
mov eax, dword [0x101962b8]
mov edi, dword [ecx + 8]
test al, 1
jne 0x100352c4
or eax, 1
mov dword [0x101962b8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.10033450
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101962bc
call fcn.10033880
add esp, 4
push 0x100c3bb0
call fcn.100b7b56
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101962bc]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x1003534f
test esi, esi
je 0x1003534f
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1003534f
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 0x1003532c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10035306
xor edx, edx
test ecx, ecx
je 0x1003532c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035313
cmp edi, 0xd791104e
je 0x10035347
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x1003534f
mov esi, dword [ebp - 0x248]
jmp 0x100352e8
mov ecx, dword [ebp - 0x244]
jmp 0x10035351
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100d14b4]
dec eax
movss xmm1, dword [0x100d14ac]
movss xmm5, dword [0x100d12f0]
cmp eax, 6
ja case.0x10035373.2
jmp dword [eax*4 + 0x100361ac]
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 0x100353e1
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 0x100353e1
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 0x100353e1
xor edx, edx
jmp 0x100353e1
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1019354c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x24c]
mov ecx, dword [0x101962b8]
mov dword [ebp - 0x1c], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10035448
or ecx, 1
mov dword [0x101962b8], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.10033450
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101962bc
call fcn.10033880
add esp, 4
push 0x100c3bb0
call fcn.100b7b56
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101962bc]
call eax
mov esi, eax
mov dword [ebp - 0x248], esi
test edi, edi
je 0x100354dc
test esi, esi
je 0x100354dc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x100354dc
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 0x100354b9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10035492
xor edx, edx
test ecx, ecx
je 0x100354b9
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100354a0
cmp edi, 0x11ab48ff
je 0x100354d4
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x100354dc
mov esi, dword [ebp - 0x248]
jmp 0x10035474
mov ecx, dword [ebp - 0x244]
jmp 0x100354de
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100354ec.2
jmp dword [eax*4 + 0x100361c8]
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 0x1003556f
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 0x1003556f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d14b4]
movaps xmm0, xmm4
movss xmm1, dword [0x100d14ac]
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 [0x100d12f0]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1003556f
xor edx, edx
jmp 0x1003556f
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1019354c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x10036154
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x10036154
mov ecx, dword [0x1019354c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x10036154
mov ecx, dword [0x1019354c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10036154
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x101962b8]
test al, 1
jne 0x1003561a
or eax, 1
mov dword [0x101962b8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.10033450
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101962bc
call fcn.10033880
add esp, 4
push 0x100c3bb0
call fcn.100b7b56
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101962bc]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x100356a9
test esi, esi
je 0x100356a9
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x100356a9
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 0x10035689
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10035661
xor edx, edx
test ecx, ecx
je 0x10035689
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035670
cmp edi, 0x2a7e565d
je 0x100356a1
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x100356a9
mov esi, dword [ebp - 0x1c]
jmp 0x10035643
mov ecx, dword [ebp - 0x244]
jmp 0x100356ab
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100356b9.2
jmp dword [eax*4 + 0x100361e4]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edi, eax
jmp 0x1003574b
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 edi, eax
jmp 0x10035751
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d14b4]
movaps xmm0, xmm4
movss xmm1, dword [0x100d14ac]
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 [0x100d12f0]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edi, xmm2
jmp 0x1003574b
xor eax, eax
mov dword [ebp - 0x248], eax
jmp 0x1003575a
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x248], edi
cmp edi, 0xa
je 0x10036154
mov ecx, dword [0x10193550]
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x10036154
mov ecx, dword [0x1019354c]
lea edx, [ebp - 0x240]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10036154
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 0x100357b7
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.10028190
mov byte [ebp - 4], 4
lea eax, [ebp - 0x270]
mov ecx, 0x18
mov dword [ebp - 0x27c], 0
cmp dword [ebp - 0x260], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x28c], xmm0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0xf
push ecx
cmova eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x28c]
push eax
mov dword [ebp - 0x278], 0
call fcn.10028190
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x50]
call fcn.10027b40
mov ecx, dword [ebp - 0x278]
cmp ecx, 0xf
jbe 0x10035871
mov edx, dword [ebp - 0x28c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035867
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003617c
push ecx
push edx
call fcn.100b7b6b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x25c]
cmp ecx, 0xf
jbe 0x100358af
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100358a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003617c
push ecx
push edx
call fcn.100b7b6b
add esp, 8
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x101962b8]
test al, 1
jne 0x10035902
or eax, 1
mov dword [0x101962b8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.10033450
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101962bc
call fcn.10033880
add esp, 4
push 0x100c3bb0
call fcn.100b7b56
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101962bc]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10035999
test esi, esi
je 0x10035999
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10035999
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 0x10035979
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10035950
xor edx, edx
test ecx, ecx
je 0x10035979
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035960
cmp edi, 0xa0d9523e
je 0x10035991
mov ecx, dword [ebp - 0x244]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x10035999
mov esi, dword [ebp - 0x18]
jmp 0x10035930
mov ecx, dword [ebp - 0x244]
jmp 0x1003599b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100359a9.2
jmp dword [eax*4 + 0x10036200]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10035a28
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10035a28
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d14b4]
movaps xmm0, xmm4
movss xmm1, dword [0x100d14ac]
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 [0x100d12f0]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10035a28
xor eax, eax
jmp 0x10035a28
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 8]
mov eax, dword [0x101962b8]
test al, 1
jne 0x10035a81
or eax, 1
mov dword [0x101962b8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x264]
call fcn.10033450
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101962bc
call fcn.10033880
add esp, 4
push 0x100c3bb0
call fcn.100b7b56
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x101962bc]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10035b19
test esi, esi
je 0x10035b19
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x10035b19
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 0x10035af9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10035ad0
xor edx, edx
test ecx, ecx
je 0x10035af9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035ae0
cmp edi, 0x6b98ed8f
je 0x10035b11
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x10035b19
mov esi, dword [ebp - 0x18]
jmp 0x10035ab0
mov ecx, dword [ebp - 0x24c]
jmp 0x10035b1b
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10035b29.2
jmp dword [eax*4 + 0x1003621c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10035ba8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10035ba8
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100d14b4]
movaps xmm0, xmm2
movss xmm3, dword [0x100d14ac]
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 [0x100d12f0]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x10035ba8
xor eax, eax
jmp 0x10035ba8
mov eax, dword [ecx + 0xc]
mov ecx, dword [0x101937d8]
mov dword [ebp - 0x20], eax
add ecx, 0xffffffc4
mov eax, dword [0x100ff550]
xor ecx, 0x18cdb7dc
push 0
push dword [0x100fd748]
movd xmm0, dword [ecx + eax]
mov eax, dword [0x101935a4]
push dword [0x100fd744]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x274], xmm0
call fcn.100b7460
mov ecx, dword [0x100fd748]
cmp eax, ecx
je 0x10035c22
mov eax, dword [0x101935a4]
mov dword [0x101032c4], 0x3f19999a
movss xmm0, dword [eax + 0x10]
movss dword [0x101032bc], xmm0
addss xmm0, dword [0x100d12bc]
movss dword [0x101032c0], xmm0
push 4
push ecx
push dword [0x100fd744]
call fcn.100b7460
mov ecx, dword [0x100fd748]
cmp eax, ecx
je 0x10035c74
mov ecx, dword [0x1019359c]
movss xmm0, dword [0x100fd7c4]
mulss xmm0, dword [0x100d123c]
push ecx
mov eax, dword [ecx]
mov dword [esp], 0
push 0
push 0x64
mov eax, dword [eax + 0x30]
push ecx
movss dword [esp], xmm0
push str.buttons_arena_switch_press_02.wav
call eax
mov ecx, dword [0x100fd748]
push 2
push ecx
push dword [0x100fd744]
call fcn.100b7460
mov esi, dword [ebp - 0x248]
cmp eax, dword [0x100fd748]
je 0x10035ca1
mov eax, dword [0x100fd92c]
cmp esi, 1
cmove eax, dword [0x100fd898]
jmp 0x10035cb1
mov dword [ebp - 0x24c], 0xffc8c8c8
mov eax, dword [ebp - 0x24c]
push 0
push dword [0x100fd6a0]
mov dword [0x101032c8], eax
push dword [0x100fd69c]
call fcn.100b7460
mov ecx, dword [0x100fd6a0]
cmp eax, ecx
je 0x100360ce
movd xmm0, dword [ebp - 0x244]
cvtdq2ps xmm0, xmm0
push 6
push ecx
push dword [0x100fd69c]
cvttss2si eax, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [esi + esi*2]
lea edi, [eax*8 + 0x10193380]
call fcn.100b7460
cmp eax, dword [0x100fd6a0]
mov ecx, str.Hit__s_in_the__s_for__i_damage___i_health_remaining___n
push 0x98
lea eax, [ebp - 0xe8]
mov esi, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
push 0
push eax
cmove esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x100cb064
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 - 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 - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100cb060
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], 0x100cacb8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 9
mov dword [ebp - 0x2c4], eax
mov ecx, 4
mov dword [ebp - 0x2c0], 4
lea eax, [ebp - 0x2b4]
nop
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10035de0
push dword [ebp - 0x2c0]
mov dword [ebp - 0x250], 0x100389a0
lea eax, [ebp - 0x50]
push dword [ebp - 0x2c4]
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0xe8]
movq xmm0, qword [ebp - 0x254]
lea eax, [ebp - 0x1c]
movq qword [ebp - 0x2bc], xmm0
mov edx, esi
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], 0x100389a0
movq xmm0, qword [ebp - 0x254]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x20]
movq qword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x250], 0x10038c00
movq xmm0, qword [ebp - 0x254]
movq qword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0x10038c00
movq xmm0, qword [ebp - 0x254]
mov dword [ebp - 0x2b4], fcn.1002de60
mov dword [ebp - 0x2a8], fcn.1002de60
mov dword [ebp - 0x29c], 0x10038c20
movq qword [ebp - 0x298], xmm0
mov dword [ebp - 0x290], 0x10038c20
call fcn.100329b0
add esp, 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xe4]
push eax
call fcn.10037cb0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100cb060
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.1002af80
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_]
push 6
mov byte [ebp - 4], 0xa
push dword [0x100fd6a0]
push dword [0x100fd69c]
call fcn.100b7460
cmp eax, dword [0x100fd6a0]
je 0x10035f8f
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
cmova eax, edx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmova ecx, edx
mov eax, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x24], 0xf
mov dword [ebp - 0x24c], eax
cmova edi, edx
cmp edi, eax
je 0x10035f8f
mov esi, dword [ebp - 0x18]
sub esi, edi
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 - 0x24c]
jne 0x10035f76
mov esi, dword [0x100ca508]
lea ecx, [ebp - 0x270]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str._damage_
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x25c], 0
call fcn.10028190
mov dword [ebp - 0x18], 0x41000000
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x270]
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x250]
call fcn.10038120
add esp, 0xc
push eax
mov byte [ebp - 4], 0xc
call fcn.10037730
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x24c]
test esi, esi
je 0x1003602c
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003602c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1003602c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x100ca508]
lea eax, [ebp - 0x270]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.10027c00
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.10027c00
push esi
mov byte [ebp - 4], 0xb
call fcn.10096da0
mov ecx, dword [ebp - 0x25c]
cmp ecx, 0xf
jbe 0x10036098
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003608e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100360be
push ecx
push edx
call fcn.100b7b6b
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100360ce
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100360c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100360c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b7b6b
add esp, 8
cmp dword [ebp - 0x248], 0
je 0x10036154
mov ecx, dword [0x1019344c]
xor edx, edx
mov esi, dword [0x10193450]
movss xmm2, dword [0x100d14b0]
add esi, ecx
cmp ecx, esi
je 0x10036154
mov eax, dword [0x10193448]
mov edi, dword [0x10193444]
dec eax
movss xmm3, dword [ebp - 0x274]
mov dword [ebp - 0x18], eax
nop
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x31], 0
jne 0x10036144
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm1, dword [eax + 8]
subss xmm0, xmm1
call fcn.10021fa0
comiss xmm0, dword [0x100d12f0]
ja 0x10036144
comiss xmm2, xmm0
jbe 0x10036144
movaps xmm2, xmm0
mov edx, eax
mov eax, dword [ebp - 0x18]
inc ecx
cmp ecx, esi
jne 0x10036110
test edx, edx
je 0x10036154
mov byte [edx + 0x31], 1
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x1003618c
mov edx, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10036182
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10036182
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b7b6b
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.100b76f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4