Function at 0x1004edc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100bb084]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov byte [esp + 4], 0x64
mov al, 6
xor al, byte [esp + 4]
mov dl, 0x10
mov byte [esp + 5], al
mov dh, 0xb
mov al, byte [esp + 4]
mov bl, 0xa
push esi
push edi
mov edi, ecx
xor dl, al
xor dh, al
mov byte [esp + 0xe], dl
mov byte [esp + 0x13], dh
xor cl, cl
mov byte [esp + 0x15], cl
sub esp, 0x18
mov edx, esp
mov byte [esp + 0x2d], 0
mov ah, 0x3b
mov ch, 0x16
mov bh, 0x14
xor bl, al
xor ah, al
mov byte [esp + 0x27], bl
xor cl, al
mov byte [esp + 0x28], ah
xor ch, al
mov byte [esp + 0x29], cl
xor bh, al
mov byte [esp + 0x2a], ch
mov byte [esp + 0x2c], bh
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004ee4a
mov eax, dword [edx]
jmp 0x1004ee4c
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1004ee5a
xor ecx, ecx
jmp 0x1004ee6a
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ee61
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [edi]
call fcn.10014550
movaps xmm0, xmmword [0x100af890]
add esp, 0x18
mov dword [edi + 0x10], eax
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x1004ee97
sub esp, 0x18
mov byte [esp + 0x34], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004eec7
mov eax, dword [edx]
jmp 0x1004eec9
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1004eed7
xor ecx, ecx
jmp 0x1004eee9
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004eee0
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [edi]
call fcn.10014550
movaps xmm0, xmmword [0x100afb70]
add esp, 0x18
mov dword [edi + 0x14], eax
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x595f5d4e
mov byte [esp + 0x20], 0
nop
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x13
jb 0x1004ef20
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004ef50
mov eax, dword [edx]
jmp 0x1004ef52
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1004ef60
xor ecx, ecx
jmp 0x1004ef70
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ef67
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [edi]
call fcn.10014550
add esp, 0x18
mov dword [edi + 4], eax
mov cl, 0x60
mov dword [esp + 0xc], 0xe140260
mov dword [esp + 0x10], 0xe15063f
xor eax, eax
mov dword [esp + 0x14], 0x13010c03
mov word [esp + 0x18], 0x13
nop dword [eax]
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x1004efc0
mov cl, byte [esp + 0xc]
jmp 0x1004efb0
sub esp, 0x18
mov byte [esp + 0x31], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004efe2
mov eax, dword [edx]
jmp 0x1004efe4
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1004eff2
xor ecx, ecx
jmp 0x1004f009
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f000
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [edi]
call fcn.10014550
add esp, 0x18
mov dword [edi + 8], eax
mov cl, 0x6e
mov dword [esp + 0xc], 0x1a0c6e
mov dword [esp + 0x10], 0x1a010231
xor eax, eax
mov dword [esp + 0x14], 0x171c0b1a
mov byte [esp + 0x18], 0
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xb
jae 0x1004f054
mov cl, byte [esp + 0xc]
jmp 0x1004f044
sub esp, 0x18
mov byte [esp + 0x30], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x25], 0
jne 0x1004f07a
xor ecx, ecx
jmp 0x1004f08a
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f081
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [edi]
call fcn.10014550
mov ebx, dword [0x100bfe58]
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [edi + 0xc], eax
test ebx, ebx
je 0x1004f10a
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1004f10a
mov ebx, dword [ebx]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ebx, ebx
je 0x1004f0e7
push 4
push ebx
call esi
test eax, eax
jne 0x1004f0e7
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call dword [0x100ad884]
mov ebx, dword [edi]
test ebx, ebx
je 0x1004f10a
push 4
push ebx
call esi
test eax, eax
jne 0x1004f10a
mov eax, dword [esp + 0x28]
mov ecx, ebx
push 5
add eax, 0xf5
push eax
call dword [0x100ad888]
mov ebx, dword [edi]
test ebx, ebx
je 0x1004f123
push 4
push ebx
call esi
test eax, eax
jne 0x1004f123
push 0x14
mov ecx, ebx
call dword [0x100ad8a4]
mov ebx, dword [edi]
test ebx, ebx
je 0x1004f13c
push 4
push ebx
call esi
test eax, eax
jne 0x1004f13c
push 1
mov ecx, ebx
call dword [0x100ad890]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1004f155
push 4
push ebx
call esi
test eax, eax
jne 0x1004f155
push eax
mov ecx, ebx
call dword [0x100ad890]
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1004f16e
push 4
push ebx
call esi
test eax, eax
jne 0x1004f16e
push eax
mov ecx, ebx
call dword [0x100ad890]
mov edi, dword [edi + 0xc]
test edi, edi
je 0x1004f187
push 4
push edi
call esi
test eax, eax
jne 0x1004f187
push eax
mov ecx, edi
call dword [0x100ad890]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret