Function at 0x1005da40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov bh, 0x28
mov byte [esp + 0xa], 0x24
mov byte [esp + 0xb], bh
mov al, 0x27
mov bh, byte [esp + 0xa]
mov dl, 0x35
push esi
mov esi, ecx
mov byte [esp + 0x10], 0x46
xor bh, byte [esp + 0x10]
mov ch, al
xor al, byte [esp + 0x10]
mov bl, 0x23
mov byte [esp + 0xe], bh
mov ah, 0x19
mov byte [esp + 0x11], bh
mov dh, 0x25
mov bh, byte [esp + 0xf]
mov cl, 0x2a
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 0x1005dae0
xor ecx, ecx
jmp 0x1005daf0
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dae7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], eax
cmp edx, 0x10
jb 0x1005db25
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [str.5FAGjVYT_j_TXPj]
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 0x1005db40
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 0x1005db73
xor ecx, ecx
jmp 0x1005db89
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005db80
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 8], eax
cmp edx, 0x10
jb 0x1005dbbf
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x1006ffb0]
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 0x1005dbd2
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 0x1005dc05
xor ecx, ecx
jmp 0x1005dc19
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dc10
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
cmp edx, 0x10
jb 0x1005dc4f
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x10070080]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 5
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1005dc64
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 0x1005dc97
xor ecx, ecx
jmp 0x1005dca9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dca0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
cmp edx, 0x10
jb 0x1005dcdf
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [str.P__]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x62
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1005dcf4
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 0x1005dd27
xor ecx, ecx
jmp 0x1005dd39
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dd30
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
cmp edx, 0x10
jb 0x1005dd6f
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x1006fff0]
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 0x1005dd82
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 0x1005ddb5
xor ecx, ecx
jmp 0x1005ddc9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005ddc0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100028c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x18], eax
cmp edx, 0x10
jb 0x1005ddff
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x1006fa10]
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 0x1005de12
lea eax, [esp + 0x15]
mov byte [esp + 0x24], 0
push eax
lea ecx, [esp + 0x2c]
call fcn.100029c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
cmp edx, 0x10
jb 0x1005de5a
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov byte [esp + 0x14], 0x3a
mov al, 0x53
xor al, byte [esp + 0x14]
mov bl, 0x65
mov byte [esp + 0x15], al
mov cl, 0x57
mov al, byte [esp + 0x14]
mov dl, 0x5d
xor cl, al
mov byte [esp + 0x13], 0xb
xor dl, al
mov byte [esp + 0x16], cl
mov ah, 0x5b
mov byte [esp + 0x1e], 0
xor ah, al
mov byte [esp + 0x17], dl
mov ch, 0x5e
mov byte [esp + 0x19], ah
xor ch, al
mov byte [esp + 0x1e], 0
mov dh, 0x4c
mov byte [esp + 0x1a], ch
xor dh, al
lea ecx, [esp + 0x28]
mov bh, bl
mov byte [esp + 0x1b], dh
xor bl, al
xor bh, al
mov al, byte [esp + 0x13]
xor al, byte [esp + 0x14]
mov byte [esp + 0x1d], al
lea eax, [esp + 0x15]
push eax
mov byte [esp + 0x1c], bl
mov byte [esp + 0x20], bh
call fcn.100029c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x20], eax
cmp edx, 0x10
jb 0x1005def5
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov byte [esp + 0x14], 0x23
mov al, 0x4a
xor al, byte [esp + 0x14]
mov bl, 0x7c
mov byte [esp + 0x15], al
mov cl, 0x4e
mov al, byte [esp + 0x14]
mov dl, 0x44
xor cl, al
mov byte [esp + 0x13], 0x11
xor dl, al
mov byte [esp + 0x16], cl
mov ah, 0x42
mov byte [esp + 0x1e], 0
xor ah, al
mov byte [esp + 0x17], dl
mov ch, 0x47
mov byte [esp + 0x19], ah
xor ch, al
mov byte [esp + 0x1e], 0
mov dh, 0x55
mov byte [esp + 0x1a], ch
xor dh, al
lea ecx, [esp + 0x28]
mov bh, bl
mov byte [esp + 0x1b], dh
xor bl, al
xor bh, al
mov al, byte [esp + 0x13]
xor al, byte [esp + 0x14]
mov byte [esp + 0x1d], al
lea eax, [esp + 0x15]
push eax
mov byte [esp + 0x1c], bl
mov byte [esp + 0x20], bh
call fcn.100029c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
cmp edx, 0x10
jb 0x1005df90
mov ecx, dword [esp + 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ebx, dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1005dfaf
push 4
push ebx
call edi
test eax, eax
jne 0x1005dfaf
push eax
mov ecx, ebx
call dword [0x1006ebec]
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x1005dfc8
push 4
push ebx
call edi
test eax, eax
jne 0x1005dfc8
push eax
mov ecx, ebx
call dword [0x1006ebec]
mov byte [esp + 0x14], 0x73
mov al, 0x11
xor al, byte [esp + 0x14]
xor dl, dl
mov byte [esp + 0x15], al
mov bl, 0x16
mov al, byte [esp + 0x14]
mov cl, 0x12
xor cl, al
mov byte [esp + 0x1e], dl
xor dl, al
mov byte [esp + 0x13], bl
xor bl, al
mov byte [esp + 0x16], cl
mov ah, 0x2c
mov byte [esp + 0x17], dl
xor ah, al
mov byte [esp + 0x18], bl
mov ch, 7
mov byte [esp + 0x19], ah
xor ch, al
mov byte [esp + 0x1e], 0
mov dh, 0x1a
mov byte [esp + 0x1a], ch
xor dh, al
lea ecx, [esp + 0x28]
mov bh, 0x1e
mov byte [esp + 0x1b], dh
xor bh, al
mov al, byte [esp + 0x13]
xor al, byte [esp + 0x14]
mov byte [esp + 0x1d], al
lea eax, [esp + 0x15]
push eax
mov byte [esp + 0x20], bh
call fcn.100029c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.100145a0
lea ecx, [esp + 0x28]
mov dword [esi + 0x28], eax
call fcn.10002380
mov byte [esp + 0x14], 0xd
mov al, 0x7e
xor al, byte [esp + 0x14]
mov cl, 0x79
mov ah, cl
mov byte [esp + 0x15], al
mov al, byte [esp + 0x14]
mov dl, 0x7f
xor ah, al
mov byte [esp + 0x1d], 0
mov ch, 0x64
mov byte [esp + 0x19], ah
mov dh, 0x60
mov byte [esp + 0x1d], 0
xor cl, al
xor ch, al
mov bl, 0x52
mov byte [esp + 0x16], cl
mov bh, 0x68
mov byte [esp + 0x1a], ch
xor dl, al
lea ecx, [esp + 0x28]
xor bl, al
mov byte [esp + 0x17], dl
xor dh, al
mov byte [esp + 0x18], bl
xor bh, al
mov byte [esp + 0x1b], dh
lea eax, [esp + 0x15]
mov byte [esp + 0x1c], bh
push eax
call fcn.100029c0
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x28]
call fcn.100145a0
lea ecx, [esp + 0x28]
mov dword [esi + 0x2c], eax
call fcn.10002380
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x1005e0e6
push 4
push ebx
call edi
test eax, eax
jne 0x1005e0e6
push eax
mov ecx, ebx
call dword [0x1006ebec]
mov esi, dword [esi]
test esi, esi
je 0x1005e0ff
push 4
push esi
call edi
test eax, eax
jne 0x1005e0ff
push 0x14
mov ecx, esi
call dword [0x1006ebfc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret