Function at 0x1004c910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov al, 0x7b
mov byte [esp + 0xa], 0x78
mov bh, al
mov byte [esp + 0xc], 0x1a
xor al, byte [esp + 0xc]
mov dl, 0x69
mov byte [esp + 0xb], bh
mov bl, 0x7f
mov bh, byte [esp + 0xa]
mov ah, 0x45
xor bh, byte [esp + 0xc]
mov dh, 0x68
push esi
mov esi, ecx
mov byte [esp + 0xe], bh
mov byte [esp + 0x11], bh
mov cl, 0x6f
mov bh, byte [esp + 0xf]
mov ch, 0x74
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 0x1004c9b0
xor ecx, ecx
jmp 0x1004c9c0
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004c9b7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002880
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016640
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004c9f5
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002760
movaps xmm0, xmmword [str.E617]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x74
nop word [eax + eax]
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1004ca10
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 0x1004ca43
xor ecx, ecx
jmp 0x1004ca59
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ca50
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002880
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016640
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004ca8f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002760
movaps xmm0, xmmword [0x100b1a70]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x4e
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1004caa4
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 0x1004cad7
xor ecx, ecx
jmp 0x1004cae9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004cae0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002880
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016640
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004cb1f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002760
mov dl, 0x5c
mov byte [esp + 0x12], 0x5b
mov bh, dl
mov byte [esp + 0x14], 0x39
mov byte [esp + 0x13], bh
mov al, 0x58
mov bh, byte [esp + 0x12]
mov cl, 0x4a
xor bh, byte [esp + 0x14]
mov bl, 0x66
xor al, byte [esp + 0x14]
mov ah, 0x4d
mov byte [esp + 0x12], bh
mov ch, 0x50
mov byte [esp + 0x15], bh
mov dh, 0x54
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 0x1004cbb1
xor ecx, ecx
jmp 0x1004cbc1
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004cbb8
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002880
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016640
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004cbf7
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002760
mov al, 0x64
mov byte [esp + 0x14], 0x10
mov bl, al
mov byte [esp + 0x1d], 0
xor al, byte [esp + 0x14]
mov bh, 0x63
xor bh, byte [esp + 0x14]
mov cl, 0x62
mov byte [esp + 0x16], al
mov dl, 0x4f
mov al, byte [esp + 0x14]
mov ah, 0x79
mov ch, 0x7d
mov byte [esp + 0x15], bh
mov dh, 0x75
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 0x1004cc6b
xor ecx, ecx
jmp 0x1004cc7b
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004cc72
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002880
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x28]
call fcn.10016640
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004ccb1
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002760
mov edi, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1004ccd0
push 4
push edi
call ebx
test eax, eax
jne 0x1004ccd0
push eax
mov ecx, edi
call dword [0x100b0d90]
mov esi, dword [esi]
test esi, esi
je 0x1004cce9
push 4
push esi
call ebx
test eax, eax
jne 0x1004cce9
push 0x14
mov ecx, esi
call dword [0x100b0d9c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret