Function at 0x10046310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063488
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, 0x52
mov byte [ebp - 0xd], 0x51
mov bh, al
mov byte [ebp - 0x2c], 0x33
xor al, byte [ebp - 0x2c]
mov dl, 0x40
mov byte [ebp - 0xe], bh
mov bl, 0x56
mov bh, byte [ebp - 0xd]
mov ah, 0x6c
xor bh, byte [ebp - 0x2c]
mov dh, 0x41
mov byte [ebp - 0xd], bh
mov cl, 0x46
mov byte [ebp - 0x2b], bh
mov ch, 0x5d
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x2a], al
mov al, byte [ebp - 0x2c]
xor dl, al
mov byte [ebp - 0x22], 0
xor bl, al
mov byte [ebp - 0x29], dl
xor ah, al
mov byte [ebp - 0x28], bl
xor dh, al
mov byte [ebp - 0x27], ah
xor cl, al
mov byte [ebp - 0x26], dh
xor ch, al
mov byte [ebp - 0x25], cl
xor bh, al
mov byte [ebp - 0x24], ch
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x23], bh
mov byte [ebp - 0x22], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x100463b3
xor ecx, ecx
jmp 0x100463c9
lea ecx, [ebp - 0x2b]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100463c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2b]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004640c
inc eax
push 1
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x1006b9d0]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x20], 0x7a
nop
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x10
jb 0x10046420
cmp byte [ebp - 0x2f], 0
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x1004644d
xor ecx, ecx
jmp 0x1004645c
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046453
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
push dword [esi + 4]
call fcn.10012430
mov dword [esi + 8], eax
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x100464a0
inc eax
push 1
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [str.__ZwZ_FIw_KGZMwI]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x20], 0x1a
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x10
jb 0x100464b3
cmp byte [ebp - 0x2f], 0
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x100464e0
xor ecx, ecx
jmp 0x100464ef
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100464e6
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 2
push eax
push dword [esi + 4]
call fcn.10012430
mov dword [esi + 0xc], eax
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10046533
inc eax
push 1
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
mov dl, 0x36
mov byte [ebp - 0xd], 0x31
mov bh, dl
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0xe], bh
mov al, 0x32
mov bh, byte [ebp - 0xd]
mov cl, 0x20
xor bh, byte [ebp - 0x2c]
mov bl, 0xc
xor al, byte [ebp - 0x2c]
mov ah, 0x27
mov byte [ebp - 0xd], bh
mov ch, 0x3a
mov byte [ebp - 0x2b], bh
mov dh, 0x3e
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x2a], al
mov al, byte [ebp - 0x2c]
xor cl, al
mov byte [ebp - 0x22], 0
xor dl, al
mov byte [ebp - 0x29], cl
xor bl, al
mov byte [ebp - 0x28], dl
xor ah, al
mov byte [ebp - 0x27], bl
xor ch, al
mov byte [ebp - 0x26], ah
xor dh, al
mov byte [ebp - 0x25], ch
xor bh, al
mov byte [ebp - 0x24], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x23], bh
mov byte [ebp - 0x22], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x100465ad
xor ecx, ecx
jmp 0x100465bc
lea ecx, [ebp - 0x2b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100465b3
sub ecx, edx
push ecx
lea eax, [ebp - 0x2b]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 3
push eax
push dword [esi + 4]
call fcn.10012430
mov dword [esi + 0x10], eax
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10046600
inc eax
push 1
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
mov al, 0x3c
mov byte [ebp - 0x1c], 0x48
mov bl, al
mov byte [ebp - 0x13], 0
xor al, byte [ebp - 0x1c]
mov bh, 0x3b
xor bh, byte [ebp - 0x1c]
mov cl, 0x3a
mov byte [ebp - 0x1a], al
mov dl, 0x17
mov al, byte [ebp - 0x1c]
mov ah, 0x21
mov ch, 0x25
mov byte [ebp - 0x1b], bh
mov dh, 0x2d
mov byte [ebp - 0x13], 0
xor cl, al
mov dword [ebp - 0x34], 0xf
xor dl, al
mov byte [ebp - 0x19], cl
xor bl, al
mov byte [ebp - 0x18], dl
xor ah, al
mov byte [ebp - 0x17], bl
xor ch, al
mov byte [ebp - 0x16], ah
xor dh, al
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x14], dh
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
test bh, bh
jne 0x10046663
xor ecx, ecx
jmp 0x10046679
lea ecx, [ebp - 0x1b]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046670
sub ecx, edx
push ecx
lea eax, [ebp - 0x1b]
push eax
lea ecx, [ebp - 0x48]
call fcn.10002800
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
push eax
push dword [esi + 0x10]
call fcn.10012430
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x100466bd
push 1
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10002610
add esp, 0xc
push 0
push dword [esi + 0x10]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.10012b10
push 0x14
push dword [esi]
call fcn.10012aa0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret