Function at 0x1005fb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov bh, 0x63
mov byte [esp + 0xa], 0x6f
mov byte [esp + 0xb], bh
mov al, 0x6c
mov bh, byte [esp + 0xa]
mov dl, 0x7e
push esi
mov esi, ecx
mov byte [esp + 0x10], 0xd
xor bh, byte [esp + 0x10]
mov ch, al
xor al, byte [esp + 0x10]
mov bl, 0x68
mov byte [esp + 0xe], bh
mov ah, 0x52
mov byte [esp + 0x11], bh
mov dh, 0x6e
mov bh, byte [esp + 0xf]
mov cl, 0x61
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 0x1005fbc0
xor ecx, ecx
jmp 0x1005fbd0
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005fbc7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005fc05
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x100997b0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
nop dword [eax + eax]
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x1005fc20
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1005fc53
xor ecx, ecx
jmp 0x1005fc69
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005fc60
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005fc9f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x10099670]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x1005fcb2
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1005fce5
xor ecx, ecx
jmp 0x1005fcf9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005fcf0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005fd2f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x10098b60]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x6f
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1005fd44
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 0x1005fd77
xor ecx, ecx
jmp 0x1005fd89
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005fd80
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005fdbf
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x100992e0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x57
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1005fdd4
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 0x1005fe07
xor ecx, ecx
jmp 0x1005fe19
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005fe10
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005fe4f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [str.OKAyEJGHyKGTMy]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x1005fe62
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1005fe95
xor ecx, ecx
jmp 0x1005fea9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005fea0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005fedf
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x100995e0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x1005fef2
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1005ff25
xor ecx, ecx
jmp 0x1005ff39
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005ff30
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1005ff6f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov bh, 0x38
mov byte [esp + 0x12], 0x60
mov byte [esp + 0x13], bh
mov al, 0x64
mov bh, byte [esp + 0x12]
mov dl, 0x56
mov byte [esp + 0x14], 9
mov dh, dl
xor bh, byte [esp + 0x14]
mov cl, 0x6e
xor al, byte [esp + 0x14]
mov bl, 0x68
mov byte [esp + 0x12], bh
mov ah, 0x6d
mov byte [esp + 0x15], bh
mov ch, 0x7f
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 0x10060001
xor ecx, ecx
jmp 0x10060011
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10060008
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10060047
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov bh, 0x58
mov byte [esp + 0x12], 3
mov byte [esp + 0x13], bh
mov al, 7
mov bh, byte [esp + 0x12]
mov dl, 0x35
mov byte [esp + 0x14], 0x6a
mov dh, dl
xor bh, byte [esp + 0x14]
mov cl, 0xd
xor al, byte [esp + 0x14]
mov bl, 0xb
mov byte [esp + 0x12], bh
mov ah, 0xe
mov byte [esp + 0x15], bh
mov ch, 0x1c
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 0x100600d9
xor ecx, ecx
jmp 0x100600e9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100600e0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1006011f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov edi, dword [esi + 0x20]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10060142
push 4
push edi
call eax
test eax, eax
jne 0x1006013d
push eax
mov ecx, edi
call dword [0x100981e8]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [esi + 0x24]
test edi, edi
je 0x1006015b
push 4
push edi
call eax
test eax, eax
jne 0x1006015b
push eax
mov ecx, edi
call dword [0x100981e8]
mov dl, 0x21
mov byte [esp + 0x12], 0x26
mov bh, dl
mov byte [esp + 0x14], 0x44
mov byte [esp + 0x13], bh
mov al, 0x25
mov bh, byte [esp + 0x12]
mov cl, 0x37
xor bh, byte [esp + 0x14]
mov bl, 0x1b
xor al, byte [esp + 0x14]
mov ah, 0x30
mov byte [esp + 0x12], bh
mov ch, 0x2d
mov byte [esp + 0x15], bh
mov dh, 0x29
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 0x100601ed
xor ecx, ecx
jmp 0x100601fd
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100601f4
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10060233
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov al, 0x16
mov byte [esp + 0x14], 0x62
mov bl, al
mov byte [esp + 0x1d], 0
xor al, byte [esp + 0x14]
mov bh, 0x11
xor bh, byte [esp + 0x14]
mov cl, 0x10
mov byte [esp + 0x16], al
mov dl, 0x3d
mov al, byte [esp + 0x14]
mov ah, 0xb
mov ch, 0xf
mov byte [esp + 0x15], bh
mov dh, 7
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 0x100602a7
xor ecx, ecx
jmp 0x100602b9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100602b0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x100602ef
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov edi, dword [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1006030e
push 4
push edi
call ebx
test eax, eax
jne 0x1006030e
push eax
mov ecx, edi
call dword [0x100981e8]
mov esi, dword [esi]
test esi, esi
je 0x10060327
push 4
push esi
call ebx
test eax, eax
jne 0x10060327
push 0x14
mov ecx, esi
call dword [0x100981f4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret