Function at 0x1004b580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008932b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xec]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1004bfe0
movzx eax, word [esi + 0xfa]
xor ecx, ecx
movaps xmm0, xmmword [0x1009e140]
push eax
movzx eax, word [esi + 0xf8]
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x2f6e64
nop word [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x1004b6a0
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004b6ce
mov eax, dword [edx]
jmp 0x1004b6d0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x1004b6dd
xor ecx, ecx
jmp 0x1004b6ec
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b6e3
sub ecx, edi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.10002770
lea eax, [ebp - 0x3c]
push eax
call fcn.1000d830
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [esi + 0x50]
call fcn.10019110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1004b731
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.10002650
mov cl, 0x62
mov byte [ebp - 0x66], 0
mov al, 0x4f
mov byte [ebp - 0x68], cl
xor al, cl
mov byte [ebp - 0x66], 0
mov byte [ebp - 0x67], al
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x1004b75d
xor ecx, ecx
jmp 0x1004b76c
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b763
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002770
mov dword [ebp - 4], 1
lea edx, [ebp - 0x3c]
mov ecx, dword [esi + 0x54]
call fcn.10019110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1004b7a7
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.10002650
movsd xmm0, qword [0x1009d9c0]
mov dh, 0x2c
mov al, 9
mov byte [ebp - 0x70], dh
mov ah, al
mov byte [ebp - 0x69], 0
mov dl, 0x1e
mov byte [ebp - 0x69], 0
xor dl, dh
sub esp, 0x20
mov ch, ah
mov byte [ebp - 0x6d], dl
mov cl, 2
mov bl, 0x4a
xor al, dh
xor cl, dh
xor bl, dh
mov byte [ebp - 0x6f], al
xor ah, dh
mov byte [ebp - 0x6e], cl
xor ch, dh
mov byte [ebp - 0x6c], bl
mov edx, esp
mov byte [ebp - 0x6b], ah
mov byte [ebp - 0x6a], ch
movsd qword [esp + 0x18], xmm0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004b809
mov eax, dword [edx]
jmp 0x1004b80b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6f], 0
jne 0x1004b818
xor ecx, ecx
jmp 0x1004b829
lea ecx, [ebp - 0x6f]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b820
sub ecx, edi
push ecx
lea eax, [ebp - 0x6f]
mov ecx, edx
push eax
call fcn.10002770
lea eax, [ebp - 0x88]
push eax
call fcn.1000d830
add esp, 0x24
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [esi + 0x58]
call fcn.10019110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x1004b877
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.10002650
mov ecx, esi
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov byte [esi + 0xa0], 1
call fcn.1004b100
mov esi, dword [esi]
test esi, esi
je 0x1004b8b7
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b8b7
push 1
mov ecx, esi
call dword [0x1009d358]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret