Function at 0x100358d0
Capabilities:
Encode data using xor

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 0x1011619d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x101453b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
test dword [edi + 0x30], 0x10000
je 0x10035942
mov eax, dword [0x10297ce8]
test al, 1
jne 0x10035934
or eax, 1
mov dword [0x10297ce8], eax
mov dword [0x10297cd8], 0
push 0x10297cd0
call dword [0x10290ea0]
add esp, 4
cmp byte [0x1028c8d8], 0
je 0x10035a5f
mov eax, dword [0x10297ce4]
test eax, eax
jne 0x10035a56
movaps xmm0, xmmword [0x10136570]
mov eax, 0x10
pxor xmm0, xmmword [0x10136a20]
mov dword [ebp - 0x1c], 0xfa85e381
mov dword [ebp - 0x18], 0xe38585e3
mov word [ebp - 0x14], 0xf6f2
mov byte [ebp - 0x12], 0xc3
movups xmmword [ebp - 0x2c], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x2c], 0xc3
inc eax
cmp eax, 0x1b
jb 0x10035990
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100359c0
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100250c0
mov dword [ebp - 4], 0
mov edx, dword [0x10290d08]
test edx, edx
je 0x100359ec
mov edx, dword [edx + 0x50]
jmp 0x100359ee
xor edx, edx
mov eax, dword [0x10290d00]
test eax, eax
je 0x100359fc
mov eax, dword [eax + 0x18]
jmp 0x100359fe
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1001d610
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
mov dword [0x10297ce4], eax
cmp edx, 0x10
jb 0x10035a56
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035a47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035c72
push edx
push ecx
call fcn.100eba52
mov eax, dword [0x10297ce4]
add esp, 8
mov edx, str.gamesense
mov ecx, edx
call eax
push edi
mov ecx, esi
call fcn.100345b0
cmp byte [esi + 4], 0
je 0x10035c5c
push 0
call fcn.100347d0
mov ecx, esi
call fcn.10034a20
push edi
mov ecx, esi
call fcn.10035450
push 1
call fcn.100347d0
mov eax, dword [0x10290d50]
mov byte [eax + 8], 0
mov eax, dword [0x10290f0c]
mov dword [eax], 0xffffffff
mov eax, dword [0x10290d94]
movss xmm0, dword [0x1028e948]
mov dword [0x10290f10], 0
movss dword [eax + 0x10], xmm0
mov eax, dword [0x10290d94]
movss xmm0, dword [0x1028e94c]
movss dword [eax + 0x14], xmm0
mov ecx, dword [0x10290d50]
movzx eax, byte [0x1028e954]
mov byte [ecx + 9], al
mov ecx, dword [0x10290d50]
movzx eax, byte [0x1028e955]
mov byte [ecx + 8], al
cmp byte [0x102908a1], 0
jne 0x10035c5c
cmp byte [0x102908a0], 0
je 0x10035c3f
cmp dword [0x10295ee0], 0x40
je 0x10035c3f
cmp byte [0x10295eec], 0
mov esi, dword [0x10290d94]
jne 0x10035b5a
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x10135c44]
mov ecx, dword [0x10291054]
movss xmm1, dword [esi + 0x10]
add ecx, 0xffffff94
mov eax, dword [0x10295edc]
xor ecx, 0x6de541a7
subss xmm1, xmm0
comiss xmm1, dword [ecx + eax]
jae 0x10035b5a
xor dh, dh
jmp 0x10035b5c
mov dh, 1
mov dl, byte [0x102908a2]
mov eax, dword [0x10295ee8]
mov edi, dword [0x1029773c]
test dl, dl
jne 0x10035bd4
movss xmm1, dword [0x10135b70]
divss xmm1, dword [esi + 0x20]
mov ecx, dword [0x102908b0]
addss xmm1, dword [0x10135b70]
cvttss2si eax, xmm1
cmp ecx, eax
jle 0x10035ba7
mov ecx, dword [0x10295ecc]
mov eax, dword [0x10295ee8]
mov dword [0x102908bc], ecx
jmp 0x10035bda
cmp dword [0x1027aa10], 0
jne 0x10035bb7
inc ecx
mov dword [0x102908b0], ecx
test byte [edi + 0x30], 1
mov eax, dword [0x10295ee8]
je 0x10035bd4
test dh, dh
je 0x10035bd4
xor esi, esi
cmp eax, 9
cmovne ecx, esi
mov dword [0x102908b0], ecx
mov ecx, dword [0x10295ecc]
test byte [edi + 0x30], 1
je 0x10035c2f
test dh, dh
je 0x10035c2f
test dl, dl
je 0x10035c33
cmp eax, 9
je 0x10035c2f
mov dword [0x102908b4], ecx
mov ecx, dword [0x10290f8c]
mov dword [0x102908b0], 0
add ecx, 0xffffffc6
mov eax, dword [edi + 4]
xor ecx, 0x6de54175
mov dword [0x102908a4], eax
mov eax, dword [0x10295df8]
mov eax, dword [ecx + eax]
mov dword [0x102908a8], eax
mov eax, dword [0x10297710]
mov byte [eax], 0
mov dl, byte [0x102908a2]
test dl, dl
jne 0x10035c5c
mov dword [0x102908ac], 0
jmp 0x10035c5c
cmp byte [0x102908a2], 0
je 0x10035c5c
mov eax, dword [0x10295ecc]
mov dword [0x102908b0], 0
mov dword [0x102908b4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100f1a4e
int3