Function at 0x10053f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c7fd
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x100a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
jbe 0x10054658
test eax, eax
je 0x10054658
xor cl, cl
lea eax, [esi + 0x110]
mov edx, 6
cmp dword [eax - 4], 0
je 0x10053fcf
cmp dword [eax], 0
jne 0x10053fd1
inc cl
add eax, 0x14
sub edx, 1
jne 0x10053fc4
test cl, cl
jne 0x10054159
movaps xmm0, xmmword [str.5eZBPG]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10053ff0
xorps xmm0, xmm0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054020
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.100048a0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100a1310]
movups xmmword [ebp - 0xf8], xmm0
mov byte [ebp - 0xd8], 0
movaps xmm0, xmmword [0x100a0ce0]
movups xmmword [ebp - 0xe8], xmm0
mov al, byte [ebp - 0xf8]
xor byte [ebp + ecx - 0xf7], al
inc ecx
cmp ecx, 0x1f
jb 0x10054062
xorps xmm0, xmm0
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0xf7]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100540a0
sub ecx, edx
lea eax, [ebp - 0xf7]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.100048a0
push 0
push ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push eax
call dword [0x1009f680]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10054110
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054106
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054675
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x10054658
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005464e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054675
jmp 0x1005464e
mov edx, dword [ebp + 0x14]
xor cl, cl
nop
movzx eax, cl
cmp edx, 1
jne 0x100542e8
lea eax, [eax + eax*4]
add eax, 0x46
cmp dword [esi + eax*4], 2
jne 0x100542f9
movaps xmm0, xmmword [str.1aFTC]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10054190
xorps xmm0, xmm0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100541c0
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.100048a0
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x100a1440]
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0x84], 0x6f603a3c
movaps xmm0, xmmword [0x100a1450]
movups xmmword [ebp - 0xc4], xmm0
mov byte [ebp - 0x80], 0
movaps xmm0, xmmword [0x100a0d60]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x100a0bd0]
movups xmmword [ebp - 0xa4], xmm0
movaps xmm0, xmmword [0x100a0e70]
movups xmmword [ebp - 0x94], xmm0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0xd4]
xor byte [ebp + ecx - 0xd3], al
inc ecx
cmp ecx, 0x53
jb 0x10054240
xorps xmm0, xmm0
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0xd3]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054275
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.100048a0
push 0
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push eax
call dword [0x1009f680]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10054110
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054106
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054675
jmp 0x10054106
cmp edx, 2
jne 0x100542f9
lea eax, [eax + eax*4]
add eax, 0x46
cmp dword [esi + eax*4], 1
je 0x10054332
inc cl
cmp cl, 6
jb 0x10054160
xor al, al
movzx ecx, al
mov dword [ebp - 0x7c], ecx
lea edi, [ecx + ecx*4]
cmp dword [esi + edi*4 + 0x10c], 0
ja 0x10054327
cmp dword [esi + edi*4 + 0x110], 0
jbe 0x1005448b
inc al
cmp al, 6
jb 0x10054306
jmp 0x10054658
movaps xmm0, xmmword [0x100a0980]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10054340
xorps xmm0, xmm0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054370
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.100048a0
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x100a1550]
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0x84], 0x777822
movaps xmm0, xmmword [0x100a0f70]
movups xmmword [ebp - 0xc4], xmm0
movaps xmm0, xmmword [0x100a0da0]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x100a0fd0]
movups xmmword [ebp - 0xa4], xmm0
movaps xmm0, xmmword [0x100a0d70]
movups xmmword [ebp - 0x94], xmm0
nop
mov al, byte [ebp - 0xd4]
xor byte [ebp + ecx - 0xd3], al
inc ecx
cmp ecx, 0x52
jb 0x100543e0
xorps xmm0, xmm0
mov byte [ebp - 0x81], 0
lea ecx, [ebp - 0xd3]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054418
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.100048a0
push 0
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push eax
call dword [0x1009f680]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10054110
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054106
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054675
jmp 0x10054106
mov ecx, dword [0x1009f5a8]
mov eax, 0x10624dd3
mul dword [ebp - 0x2c]
mov eax, edx
shr eax, 6
mov dword [ebp - 0x78], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov ecx, eax
mov dword [ebp - 0x58], ecx
test ecx, ecx
je 0x10054658
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 6
cmp dword [ecx], 0
je 0x10054593
mov eax, 0x12e0be83
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x74], eax
cmp eax, 4
jae 0x10054593
cmp byte [ecx + 4], 0x2d
jae 0x10054593
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10054590
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x78]
mov edx, dword [0x1009f5ac]
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
test eax, eax
je 0x10054590
cmp dword [eax + 0x3c], 0
je 0x10054590
push dword [ebp - 0x2c]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
call fcn.1000f980
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10009c00
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100545eb
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100545e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100545e1
jmp 0x10054675
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x2c]
mov edx, ecx
lea ecx, [ebp - 0xf0]
push 0
call fcn.1000f980
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10009c00
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0xf
jbe 0x100545eb
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100545e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054675
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esi + edi*4 + 0x10c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + edi*4 + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + edi*4 + 0x114], eax
mov eax, dword [ebp - 0x7c]
lea eax, [eax + eax*4]
mov dword [esi + eax*4 + 0x118], ecx
mov esi, dword [esi + edi*4 + 0x11c]
test esi, esi
je 0x1005463d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005463d
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x1009f628]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10054658
mov edx, dword [ebp - 0x28]
inc ecx
jmp 0x10054132
push ecx
push edx
call fcn.10067ef6
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.10067e95
mov esp, ebp
pop ebp
ret 0x10
call fcn.1006d1c4
int3