Function at 0x1004d310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov al, 0x75
mov byte [esp + 0xa], 0x76
mov bh, al
mov byte [esp + 0xc], 0x14
xor al, byte [esp + 0xc]
mov dl, 0x67
mov byte [esp + 0xb], bh
mov bl, 0x71
mov bh, byte [esp + 0xa]
mov ah, 0x4b
xor bh, byte [esp + 0xc]
mov dh, 0x66
push esi
mov esi, ecx
mov byte [esp + 0xe], bh
mov byte [esp + 0x11], bh
mov cl, 0x61
mov bh, byte [esp + 0xf]
mov ch, 0x7a
mov byte [esp + 0x12], al
mov al, byte [esp + 0x10]
xor dl, al
mov byte [esp + 0x1a], 0
xor bl, al
mov byte [esp + 0x13], dl
xor ah, al
mov byte [esp + 0x14], bl
xor dh, al
mov byte [esp + 0x15], ah
xor cl, al
mov byte [esp + 0x16], dh
xor ch, al
mov byte [esp + 0x17], cl
xor bh, al
mov byte [esp + 0x18], ch
cmp byte [esp + 0xe], 0
push edi
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004d3b0
xor ecx, ecx
jmp 0x1004d3c0
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d3b7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002770
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.100186d0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004d3f5
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002650
movaps xmm0, xmmword [0x1009e420]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x2c
nop word [eax + eax]
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1004d410
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004d443
xor ecx, ecx
jmp 0x1004d459
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d450
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002770
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100186d0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004d48f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002650
movaps xmm0, xmmword [0x1009e600]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x3c
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1004d4a4
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004d4d7
xor ecx, ecx
jmp 0x1004d4e9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d4e0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002770
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100186d0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004d51f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002650
mov dl, 0x74
mov byte [esp + 0x12], 0x73
mov bh, dl
mov byte [esp + 0x14], 0x11
mov byte [esp + 0x13], bh
mov al, 0x70
mov bh, byte [esp + 0x12]
mov cl, 0x62
xor bh, byte [esp + 0x14]
mov bl, 0x4e
xor al, byte [esp + 0x14]
mov ah, 0x65
mov byte [esp + 0x12], bh
mov ch, 0x78
mov byte [esp + 0x15], bh
mov dh, 0x7c
mov bh, byte [esp + 0x13]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x14]
xor cl, al
mov byte [esp + 0x1e], 0
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
xor bh, al
mov byte [esp + 0x1c], dh
cmp byte [esp + 0x12], 0
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004d5b1
xor ecx, ecx
jmp 0x1004d5c1
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d5b8
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002770
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100186d0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004d5f7
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002650
mov al, 0x2c
mov byte [esp + 0x14], 0x58
mov bl, al
mov byte [esp + 0x1d], 0
xor al, byte [esp + 0x14]
mov bh, 0x2b
xor bh, byte [esp + 0x14]
mov cl, 0x2a
mov byte [esp + 0x16], al
mov dl, 7
mov al, byte [esp + 0x14]
mov ah, 0x31
mov ch, 0x35
mov byte [esp + 0x15], bh
mov dh, 0x3d
mov byte [esp + 0x1d], 0
xor cl, al
mov dword [esp + 0x3c], 0xf
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
mov byte [esp + 0x1c], dh
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test bh, bh
jne 0x1004d66b
xor ecx, ecx
jmp 0x1004d67b
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d672
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002770
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x28]
call fcn.100186d0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004d6b1
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002650
mov edi, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1004d6d0
push 4
push edi
call ebx
test eax, eax
jne 0x1004d6d0
push eax
mov ecx, edi
call dword [0x1009d358]
mov esi, dword [esi]
test esi, esi
je 0x1004d6e9
push 4
push esi
call ebx
test eax, eax
jne 0x1004d6e9
push 0x14
mov ecx, esi
call dword [0x1009d364]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret