Function at 0x10019960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb36b
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x284], eax
xorps xmm0, xmm0
mov dword [ebp - 0x280], 0
xor ecx, ecx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x280], 1
jb 0x100199eb
mov eax, dword [edi]
push 0
push eax
call fcn.100a3f22
add esp, 8
cmp eax, 0xffffffff
jne 0x10019baf
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
push ecx
mov edx, edi
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.10010210
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019a60
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
add esp, 4
lea ecx, [ebp - 0x24c]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019a89
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x238]
cmp ecx, 0x10
jb 0x10019ad4
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019aca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4a9
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
cmp ecx, 0x10
jb 0x10019b2d
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019b23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4a9
push ecx
push edx
call fcn.1009197a
add esp, 8
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10019b52
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003ef0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x10019b99
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0x340]
call fcn.10004400
mov esi, dword [ebp - 0x270]
jmp 0x1001a48c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
jb 0x10019bcb
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x290]
push eax
push 0
push 2
push 0x400
push edi
push 1
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x10019d35
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eab80]
mov esi, eax
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x248], 0x541a
mov byte [ebp - 0x246], 0
mov byte [ebp - 4], 6
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x257]
xor al, byte [ebp - 0x258]
mov byte [ebp + ecx - 0x245], al
inc ecx
cmp ecx, 0x11
jb 0x10019c70
lea edx, [ebp - 0x245]
mov byte [ebp - 0x234], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019cba
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x10019d05
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019cfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4b3
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 5
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x10019b52
jmp 0x10019b50
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push 6
push dword [ebp - 0x274]
call esi
test eax, eax
jne 0x10019e85
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eabb0]
mov esi, eax
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x248], 0x5403
mov byte [ebp - 0x246], 0
mov byte [ebp - 4], 0xa
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x257]
xor al, byte [ebp - 0x258]
mov byte [ebp + ecx - 0x245], al
inc ecx
cmp ecx, 0x11
jb 0x10019dc0
lea edx, [ebp - 0x245]
mov byte [ebp - 0x234], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019e0a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 0xa
add esp, 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x10019e55
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019e4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 9
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10019b52
jmp 0x10019b50
push dword [ebp - 0x27c]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x10019fd9
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
mov esi, eax
mov dword [ebp - 0x24c], 0x414d6e22
mov dl, 0x22
mov dword [ebp - 0x248], 0x4e634e43
mov dword [ebp - 0x244], 0x18414d4e
mov byte [ebp - 0x240], 0
mov byte [ebp - 4], 0xe
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x24b]
xor al, dl
mov byte [ebp + ecx - 0x23f], al
inc ecx
cmp ecx, 0xb
jae 0x10019f2e
mov dl, byte [ebp - 0x24c]
jmp 0x10019f10
lea edx, [ebp - 0x23f]
mov byte [ebp - 0x234], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019f5e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 0xe
add esp, 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x10019fa9
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019f9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 0xd
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x10019b52
jmp 0x10019b50
lea eax, [ebp - 0x27c]
push eax
push edi
push 0
push 6
push dword [ebp - 0x274]
call esi
test eax, eax
jne 0x1001a17b
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eb0b0]
mov esi, eax
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x248], 0x2b7c
mov byte [ebp - 0x246], 0
mov byte [ebp - 4], 0x12
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x257]
xor al, byte [ebp - 0x258]
mov byte [ebp + ecx - 0x245], al
inc ecx
cmp ecx, 0x11
jb 0x1001a060
lea edx, [ebp - 0x245]
mov byte [ebp - 0x234], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001a0aa
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 0x12
add esp, 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x1001a0f5
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a0eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 0x11
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x1001a11e
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003ef0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x1001a165
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a15b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0x340]
call fcn.10004400
mov esi, dword [ebp - 0x270]
jmp 0x1001a485
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x394], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
push 0
mov dword [ebp - 0x3ac], eax
lea eax, [ebp - 0x3b0]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0x278]
mov dword [ebp - 0x3a8], ecx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov esi, eax
test esi, esi
jne 0x1001a315
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eab00]
mov esi, eax
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x25c], 0xa1b0e0c
mov dword [ebp - 0x258], 0x1b3c0126
mov dword [ebp - 0x254], 0x550a1d00
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 0x16
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x26b]
xor al, byte [ebp - 0x26c]
mov byte [ebp + ecx - 0x24f], al
inc ecx
cmp ecx, 0x1b
jb 0x1001a250
lea edx, [ebp - 0x24f]
mov byte [ebp - 0x234], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001a29a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 0x16
add esp, 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x1001a2e5
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a2db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 0x15
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1001a11e
jmp 0x1001a11c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10093d00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
push 0
push 4
push esi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
jne 0x1001a471
push ecx
lea ecx, [ebp - 0x340]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x330]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100ead40]
mov esi, eax
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x24c], 0x7b262f
mov byte [ebp - 4], 0x1a
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x25b]
xor al, byte [ebp - 0x25c]
mov byte [ebp + ecx - 0x248], al
inc ecx
cmp ecx, 0x12
jb 0x1001a3b0
lea edx, [ebp - 0x248]
mov byte [ebp - 0x236], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001a3fa
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 0x1a
add esp, 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x1001a441
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a437
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a4ae
push ecx
push edx
call fcn.1009197a
add esp, 8
mov byte [ebp - 4], 0x19
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x230]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x1001a11e
jmp 0x1001a11c
mov esi, dword [ebp - 0x270]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.100108c0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
ret
call fcn.1009d81f
call fcn.1009d81f
call fcn.1009d81f
int3