Function at 0x10045a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
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 + 8], 0xd
mov bl, 0x52
xor bh, byte [esp + 8]
mov ah, 0x6e
xor al, byte [esp + 8]
mov dh, 0x61
push esi
mov esi, ecx
mov byte [esp + 9], bh
mov byte [esp + 0xd], bh
mov cl, 0x62
mov bh, byte [esp + 0xa]
mov ch, 0x7e
mov byte [esp + 0xe], al
mov al, byte [esp + 0xc]
xor dl, al
mov byte [esp + 0x16], 0
xor bl, al
mov byte [esp + 0xf], dl
xor ah, al
mov byte [esp + 0x10], bl
xor dh, al
mov byte [esp + 0x11], ah
xor cl, al
mov byte [esp + 0x12], dh
xor ch, al
mov byte [esp + 0x13], cl
xor bh, al
mov byte [esp + 0x14], ch
cmp byte [esp + 9], 0
push edi
mov byte [esp + 0x19], bh
mov byte [esp + 0x1a], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045af0
xor ecx, ecx
jmp 0x10045b00
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045af7
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
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 0x10045b35
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov cl, 0x5d
mov dword [esp + 0x10], 0x33293f5d
mov dword [esp + 0x14], 0x2f3c2a02
xor eax, eax
mov dword [esp + 0x18], 0x2f32342f
mov byte [esp + 0x1c], 0
xor byte [esp + eax + 0x11], cl
inc eax
cmp eax, 0xb
jae 0x10045b66
mov cl, byte [esp + 0x10]
jmp 0x10045b56
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045b8b
xor ecx, ecx
jmp 0x10045b9b
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045b92
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045bd0
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov bh, 0x36
mov byte [esp + 0xd], 0x31
mov byte [esp + 0xe], bh
mov al, 0x27
mov bh, byte [esp + 0xd]
mov cl, 0x3d
mov byte [esp + 0x10], 0x53
mov dl, 0xc
xor bh, byte [esp + 0x10]
mov bl, 0x21
xor al, byte [esp + 0x10]
mov ah, 0x3c
mov byte [esp + 0xd], bh
mov ch, 0x34
mov byte [esp + 0x11], bh
mov dh, 0x26
mov bh, byte [esp + 0xe]
mov byte [esp + 0x12], al
mov al, byte [esp + 0x10]
xor cl, al
mov byte [esp + 0x1a], 0
xor dl, al
mov byte [esp + 0x13], cl
xor bl, al
mov byte [esp + 0x14], dl
xor ah, al
mov byte [esp + 0x15], bl
xor ch, al
mov byte [esp + 0x16], ah
xor dh, al
mov byte [esp + 0x17], ch
xor bh, al
mov byte [esp + 0x18], dh
cmp byte [esp + 0xd], 0
mov byte [esp + 0x19], bh
mov byte [esp + 0x1a], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045c62
xor ecx, ecx
jmp 0x10045c79
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045c70
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045cae
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov byte [esp + 0x10], 0x5e
mov al, 0x2a
xor al, byte [esp + 0x10]
mov bh, 0x3c
xor bh, byte [esp + 0x10]
mov cl, 0x30
mov byte [esp + 0x12], al
mov dl, 1
mov al, byte [esp + 0x10]
mov bl, 0x33
mov ah, 0x3f
mov byte [esp + 0x19], 0
mov ch, 0x39
mov byte [esp + 0x11], bh
mov dh, 0x3b
mov byte [esp + 0x19], 0
xor cl, al
mov dword [esp + 0x3c], 0xf
xor dl, al
mov byte [esp + 0x13], cl
xor bl, al
mov byte [esp + 0x14], dl
xor ah, al
mov byte [esp + 0x15], bl
xor ch, al
mov byte [esp + 0x16], ah
xor dh, al
mov byte [esp + 0x17], ch
mov byte [esp + 0x18], dh
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test bh, bh
jne 0x10045d22
xor ecx, ecx
jmp 0x10045d39
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045d30
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045d6e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov bh, 0x16
mov byte [esp + 0x10], 0x65
mov byte [esp + 0xe], bh
mov al, 0x11
mov byte [esp + 0xd], 7
xor dh, dh
mov bh, byte [esp + 0xd]
mov cl, 0xb
xor bh, byte [esp + 0x10]
mov dl, 0x3a
mov byte [esp + 0xf], al
mov bl, 0x15
xor al, byte [esp + 0x10]
mov ah, 0x17
mov byte [esp + 0xd], bh
mov ch, 0xc
mov byte [esp + 0x12], al
mov al, byte [esp + 0x10]
mov byte [esp + 0x11], bh
xor cl, al
mov bh, byte [esp + 0xe]
xor dl, al
xor bl, al
mov byte [esp + 0x13], cl
xor ah, al
mov byte [esp + 0x14], dl
xor ch, al
mov byte [esp + 0x15], bl
xor dh, al
mov byte [esp + 0x16], ah
xor bh, al
mov byte [esp + 0x17], ch
mov al, byte [esp + 0xf]
xor al, byte [esp + 0x10]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x18], dh
mov byte [esp + 0x19], bh
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045e0b
xor ecx, ecx
jmp 0x10045e1b
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045e12
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045e50
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x10099570]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0x434b4f
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0x12
jb 0x10045e66
cmp byte [esp + 0x11], 0
mov byte [esp + 0x23], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045e99
xor ecx, ecx
jmp 0x10045ea9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045ea0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045ede
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x10098960]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x10045ef0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045f23
xor ecx, ecx
jmp 0x10045f39
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045f30
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045f6e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x100999e0]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x10045f81
cmp byte [esp + 0x11], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10045fb4
xor ecx, ecx
jmp 0x10045fc9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045fc0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10045ffe
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x10099240]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0x41f0509
mov word [esp + 0x24], 0x1e
nop dword [eax + eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0x14
jb 0x10046020
cmp byte [esp + 0x11], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10046053
xor ecx, ecx
jmp 0x10046069
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046060
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004609e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
movaps xmm0, xmmword [0x10099080]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0x2b271b28
mov dword [esp + 0x24], 0x302a31
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0x16
jb 0x100460c0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x27], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x100460f3
xor ecx, ecx
jmp 0x10046109
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046100
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002710
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10016fe0
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004613e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.100025f0
mov ecx, esi
call fcn.10046190
mov edi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10046169
push 4
push edi
call ebx
test eax, eax
jne 0x10046169
lea ecx, [edi + 0xd4]
call fcn.10017d30
mov edi, eax
jmp 0x1004616b
xor edi, edi
mov esi, dword [esi]
test esi, esi
je 0x10046186
push 4
push esi
call ebx
test eax, eax
jne 0x10046186
or edi, 0x38
mov ecx, esi
push edi
call dword [0x100981f4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret