Function at 0x10135210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a00ce
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x3d]
mov dword [ebp - 0x18], 0
push 8
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], eax
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], 0x656d616e
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x101352eb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101352eb
mov eax, dword [esi]
test eax, eax
je 0x101352eb
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x101352eb
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100477d0
jmp 0x101352fc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
xor esi, esi
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
add esp, 8
mov dword [edi + 0x54], esi
mov dl, 0x45
mov dword [ebp - 0x3c], 0x2c2e3645
mov dword [ebp - 0x38], 0x221a2929
xor ecx, ecx
mov dword [ebp - 0x34], 0x35302a37
mov byte [ebp - 0x30], 0
xor byte [ebp + ecx - 0x3b], dl
inc ecx
cmp ecx, 0xb
jae 0x10135340
mov dl, byte [ebp - 0x3c]
jmp 0x10135331
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10135366
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100484d0
mov esi, dword [edi + 0x58]
mov dword [ebp - 4], 2
test esi, esi
je 0x101353ca
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101353ca
mov eax, dword [esi]
test eax, eax
je 0x101353ca
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x101353ca
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100477d0
jmp 0x101353db
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
xor esi, esi
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x44]
add esp, 8
movaps xmm0, xmmword [0x101de740]
mov dword [edi + 0x50], esi
xor edi, edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0x14
nop dword [eax]
push edi
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x4e0f44
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x23]
xor al, byte [ebp - 0x24]
mov byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x10135420
sub esp, 0x1c
mov byte [ebp - 0x11], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10135460
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x84]
push eax
call fcn.10049410
mov eax, dword [ebp - 0x44]
add esp, 0x24
mov esi, dword [eax + 0x50]
mov dword [ebp - 4], 3
test esi, esi
je 0x101354db
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101354db
mov eax, dword [esi]
test eax, eax
je 0x101354db
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x101354db
push 0
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100477d0
jmp 0x101354ef
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
xor esi, esi
mov eax, dword [ebp - 0x84]
push 8
push eax
mov dword [ebp - 0x84], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x64]
add esp, 8
movaps xmm0, xmmword [0x101de740]
inc edi
mov dword [eax], esi
add eax, 4
sub dword [ebp - 0x68], 1
mov dword [ebp - 0x64], eax
jne 0x10135410
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 8
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x44]
movq xmm0, qword [str.Btn_Drops]
mov al, byte [0x101dd518]
mov dword [ebp - 0x18], 9
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
mov dword [ebp - 4], 5
test esi, esi
je 0x101355d4
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101355d4
mov eax, dword [esi]
test eax, eax
je 0x101355d4
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x101355d4
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100477d0
jmp 0x101355e5
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
xor esi, esi
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
xorps xmm0, xmm0
mov dword [edi + 0x5c], esi
push 8
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.1013ca30
lea ecx, [ebp - 0x60]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x60], eax
mov ax, word [0x101dd50c]
movq xmm0, qword [str.Text_Health]
mov esi, dword [edi + 0x58]
mov word [ebp - 0x54], ax
mov al, byte [0x101dd50e]
mov dword [ebp - 0x4c], 0xb
mov dword [ebp - 0x48], 0xf
movq qword [ebp - 0x5c], xmm0
mov byte [ebp - 0x52], al
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 7
test esi, esi
je 0x101356ae
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101356ae
mov eax, dword [esi]
test eax, eax
je 0x101356ae
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x101356ae
push 0
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100477d0
jmp 0x101356bf
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
xor esi, esi
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x60], 0
call fcn.1013c8d0
mov ecx, dword [edi + 0x5c]
add esp, 8
mov dword [edi + 0x64], esi
test ecx, ecx
je 0x101356e6
push 0
call dword [0x101d64b8]
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x1013570f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1013570f
mov dword [0x1027ede8], esi
mov dword [0x10297efc], 7
call fcn.100e5070
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.1013c8c0
mov esp, ebp
pop ebp
ret