Function at 0x10050b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov bh, 0x68
mov byte [esp + 5], 0x6f
mov byte [esp + 6], bh
mov al, 0x79
mov bh, byte [esp + 5]
mov dl, 0x63
mov byte [esp + 0x14], 0xd
mov bl, 0x52
xor bh, byte [esp + 0x14]
mov ah, 0x6e
xor al, byte [esp + 0x14]
mov dh, 0x61
push esi
mov esi, ecx
mov byte [esp + 9], bh
mov byte [esp + 0x19], bh
mov cl, 0x62
mov bh, byte [esp + 0xa]
mov ch, 0x7e
mov byte [esp + 0x1a], al
mov al, byte [esp + 0x18]
xor dl, al
mov byte [esp + 0x22], 0
xor bl, al
mov byte [esp + 0x1b], dl
xor ah, al
mov byte [esp + 0x1c], bl
xor dh, al
mov byte [esp + 0x1d], ah
xor cl, al
mov byte [esp + 0x1e], dh
xor ch, al
mov byte [esp + 0x1f], cl
xor bh, al
mov byte [esp + 0x20], ch
cmp byte [esp + 9], 0
push edi
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10050bf0
xor ecx, ecx
jmp 0x10050c00
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050bf7
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10050c35
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov cl, 0x5d
mov dword [esp + 0x1c], 0x3439385d
mov dword [esp + 0x20], 0x382e0229
xor eax, eax
mov dword [esp + 0x24], 0x353e2f3c
mov byte [esp + 0x28], 0
xor byte [esp + eax + 0x1d], cl
inc eax
cmp eax, 0xb
jae 0x10050c66
mov cl, byte [esp + 0x1c]
jmp 0x10050c56
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10050c8b
xor ecx, ecx
jmp 0x10050c9b
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050c92
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10050cd0
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov bh, 0x30
mov byte [esp + 0x1c], 0x53
mov byte [esp + 0xe], bh
mov al, 0x27
xor al, byte [esp + 0x1c]
mov cl, 0x3d
mov byte [esp + 0xd], 0x31
mov dl, 0xc
mov bh, byte [esp + 0xd]
mov bl, 0x20
xor bh, byte [esp + 0x1c]
mov ah, 0x36
mov byte [esp + 0xd], bh
mov ch, 0x32
mov byte [esp + 0x1e], al
mov dh, 0x21
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1d], bh
xor cl, al
mov bh, byte [esp + 0xe]
xor dl, al
xor bl, al
mov byte [esp + 0xf], 0x3b
xor ah, al
mov byte [esp + 0x27], 0
xor ch, al
mov byte [esp + 0x1f], cl
xor dh, al
mov byte [esp + 0x20], dl
xor bh, al
mov byte [esp + 0x21], bl
mov al, byte [esp + 0xf]
xor al, byte [esp + 0x1c]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x22], ah
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10050d73
xor ecx, ecx
jmp 0x10050d89
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050d80
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10050dbe
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
movaps xmm0, xmmword [str.__122]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
nop dword [eax]
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0xe
jb 0x10050dd0
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x2b], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10050e03
xor ecx, ecx
jmp 0x10050e19
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050e10
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10050e4e
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
xor eax, eax
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], eax
lea edi, [esi + 0x18]
nop
push eax
mov byte [esp + 0x20], 0x65
mov al, 0x28
xor al, byte [esp + 0x20]
mov cl, 0xa
xor cl, byte [esp + 0x20]
mov bl, 0x16
mov byte [esp + 0x21], al
mov bh, 0x3a
mov byte [esp + 0x22], cl
xor ch, ch
mov cl, byte [esp + 0x20]
sub esp, 0x18
mov byte [esp + 0x2b], 0x40
xor bl, cl
mov al, byte [esp + 0x2b]
xor bh, cl
xor al, cl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x41], al
mov dl, 0xb
mov byte [esp + 0x40], bh
mov ah, 0x11
mov byte [esp + 0x43], ch
mov ebx, esp
mov byte [esp + 0x2a], 1
mov dh, 0x17
mov al, byte [esp + 0x2a]
xor dl, cl
xor ah, cl
mov byte [esp + 0x3b], dl
xor ch, cl
mov byte [esp + 0x3d], ah
xor dh, cl
mov byte [esp + 0x3e], ch
xor al, cl
mov byte [esp + 0x3f], dh
mov byte [esp + 0x42], al
mov byte [esp + 0x43], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [esp + 0x39], 0
jne 0x10050ef6
xor ecx, ecx
jmp 0x10050f09
lea ecx, [esp + 0x39]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050f00
sub ecx, edx
push ecx
lea eax, [esp + 0x3d]
mov ecx, ebx
push eax
call fcn.10002710
lea eax, [esp + 0x4c]
push eax
call fcn.1000bf20
mov ecx, dword [esi]
add esp, 0x20
mov edx, eax
call fcn.10016fe0
mov dword [edi], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10050f46
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov eax, dword [esp + 0x10]
add edi, 4
inc eax
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jne 0x10050e60
mov byte [esp + 0x1c], 0x26
mov al, 0x52
xor al, byte [esp + 0x1c]
mov bh, 0x44
xor bh, byte [esp + 0x1c]
mov cl, 0x48
mov byte [esp + 0x1e], al
mov dl, 0x79
mov al, byte [esp + 0x1c]
mov bl, 0x42
mov ah, 0x54
mov byte [esp + 0x25], 0
mov ch, 0x49
mov byte [esp + 0x1d], bh
mov dh, 0x56
mov byte [esp + 0x25], 0
xor cl, al
mov dword [esp + 0x44], 0xf
xor dl, al
mov byte [esp + 0x1f], cl
xor bl, al
mov byte [esp + 0x20], dl
xor ah, al
mov byte [esp + 0x21], bl
xor ch, al
mov byte [esp + 0x22], ah
xor dh, al
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
test bh, bh
jne 0x10050fd1
xor ecx, ecx
jmp 0x10050fe1
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050fd8
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10051016
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
movaps xmm0, xmmword [0x10098c30]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
mov word [esp + 0x2c], 0
nop dword [eax + eax]
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0x10
jb 0x10051030
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x2d], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10051063
xor ecx, ecx
jmp 0x10051079
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051070
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x100510ae
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov bl, 0x65
mov byte [esp + 0xd], 0x7d
mov bh, bl
mov byte [esp + 0x1c], 9
mov byte [esp + 0xf], bh
mov al, 0x71
mov bh, byte [esp + 0xd]
mov ah, 0x6c
xor bh, byte [esp + 0x1c]
mov dh, ah
xor al, byte [esp + 0x1c]
mov cl, 0x7d
mov byte [esp + 0xd], bh
mov dl, 0x56
mov byte [esp + 0x1d], bh
mov ch, 0x7f
mov bh, byte [esp + 0xf]
mov byte [esp + 0x1e], al
mov al, byte [esp + 0x1c]
xor cl, al
mov byte [esp + 0x26], 0
xor dl, al
mov byte [esp + 0x1f], cl
xor bl, al
mov byte [esp + 0x20], dl
xor ah, al
mov byte [esp + 0x21], bl
xor ch, al
mov byte [esp + 0x22], ah
xor dh, al
mov byte [esp + 0x23], ch
xor bh, al
mov byte [esp + 0x24], dh
cmp byte [esp + 0xd], 0
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10051140
xor ecx, ecx
jmp 0x10051150
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051147
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10051185
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov bh, 0xd
mov byte [esp + 0x1c], 0x6a
mov byte [esp + 0xf], bh
mov al, 0x12
xor al, byte [esp + 0x1c]
mov ah, 0xb
mov byte [esp + 0xd], 0x1e
mov dh, ah
mov bh, byte [esp + 0xd]
mov cl, 0x1e
xor bh, byte [esp + 0x1c]
mov dl, 0x35
mov byte [esp + 0xd], bh
mov bl, 0xe
mov byte [esp + 0x1e], al
mov ch, 7
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1d], bh
xor cl, al
mov bh, byte [esp + 0xf]
xor dl, al
xor bl, al
mov byte [esp + 0xe], 0xf
xor ah, al
mov byte [esp + 0x27], 0
xor ch, al
mov byte [esp + 0x1f], cl
xor dh, al
mov byte [esp + 0x20], dl
xor bh, al
mov byte [esp + 0x21], bl
mov al, byte [esp + 0xe]
xor al, byte [esp + 0x1c]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x22], ah
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10051228
xor ecx, ecx
jmp 0x10051239
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051230
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x1005126e
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov cl, 0x44
mov dword [esp + 0x1c], 0x303c3044
mov dword [esp + 0x20], 0x2221201b
xor eax, eax
mov dword [esp + 0x24], 0x21372a21
mov byte [esp + 0x28], 0
nop
xor byte [esp + eax + 0x1d], cl
inc eax
cmp eax, 0xb
jae 0x100512a0
mov cl, byte [esp + 0x1c]
jmp 0x10051290
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x100512c5
xor ecx, ecx
jmp 0x100512d9
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100512d0
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x1005130e
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov cl, 0x16
mov byte [esp + 0x1c], 0x62
mov bh, cl
mov byte [esp + 0xd], 0x16
mov byte [esp + 0xf], bh
mov al, 0x1a
xor al, byte [esp + 0x1c]
mov bl, 0xa
mov bh, byte [esp + 0xd]
mov dl, 0x3d
xor bh, byte [esp + 0x1c]
mov ah, 7
mov byte [esp + 0xd], bh
mov ch, 3
mov byte [esp + 0x1e], al
mov dh, 0xe
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1d], bh
xor cl, al
mov bh, byte [esp + 0xf]
xor dl, al
xor ah, al
mov byte [esp + 0xe], bl
xor bl, al
mov byte [esp + 0x27], 0
xor ch, al
mov byte [esp + 0x1f], cl
xor dh, al
mov byte [esp + 0x20], dl
xor bh, al
mov byte [esp + 0x21], bl
mov al, byte [esp + 0xe]
xor al, byte [esp + 0x1c]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x22], ah
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x100513b0
xor ecx, ecx
jmp 0x100513c0
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100513b7
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.10016fe0
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x100513f5
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100025f0
mov edi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10051419
push 4
push edi
call ebx
test eax, eax
jne 0x10051419
lea ecx, [edi + 0xd4]
call fcn.10017d30
mov edi, eax
jmp 0x1005141b
xor edi, edi
mov esi, dword [esi]
test esi, esi
je 0x10051436
push 4
push esi
call ebx
test eax, eax
jne 0x10051436
or edi, 0x28
mov ecx, esi
push edi
call dword [0x100981f4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret