Function at 0x10019360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf15f
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x10105230]
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, ecx
mov dword [ebp - 0x324], edi
xorps xmm0, xmm0
mov dword [ebp - 0x344], 0
push 0x20c
lea eax, [ebp - 0x318]
movlpd qword [ebp - 0x35c], xmm0
push 0
push eax
movlpd qword [ebp - 0x334], xmm0
movups xmmword [ebp - 0x370], xmm0
movups xmmword [ebp - 0x398], xmm0
movups xmmword [ebp - 0x388], xmm0
movq qword [ebp - 0x378], xmm0
call fcn.10097780
add esp, 0xc
mov dword [ebp - 0x31c], 0
lea eax, [ebp - 0x31c]
push 0
push 0
push eax
call dword [sym.imp.WINTRUST.dll_CryptCATAdminAcquireContext]
test eax, eax
jne 0x10019597
push ecx
lea ecx, [ebp - 0x448]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efcb0]
mov esi, eax
movups xmmword [ebp - 0xf4], xmm0
mov word [ebp - 0xd4], 0x4117
movaps xmm0, xmmword [0x100efc90]
movups xmmword [ebp - 0xe4], xmm0
mov byte [ebp - 0xd2], 0
mov byte [ebp - 4], 1
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0xf3]
xor al, byte [ebp - 0xf4]
mov byte [ebp + ecx - 0xd1], al
inc ecx
cmp ecx, 0x21
jb 0x10019480
lea edx, [ebp - 0xd1]
mov byte [ebp - 0xb0], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x9c]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100194ca
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x10019515
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001950b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bb7
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x448]
lea eax, [ebp - 0x9c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1001953e
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003ef0
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x10019585
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001957b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bbc
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x448]
call fcn.10004400
xor eax, eax
jmp 0x10019b9c
push 0
push 0
push 3
push 0
push 1
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
cmp esi, 0xffffffff
jne 0x100196f5
push dword [ebp - 0x31c]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseContext]
push ecx
lea ecx, [ebp - 0x448]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x438]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100f0030]
mov esi, eax
movups xmmword [ebp - 0xd4], xmm0
mov word [ebp - 0xc4], 0x1c4a
mov byte [ebp - 0xc2], 0
mov byte [ebp - 4], 5
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0xd3]
xor al, byte [ebp - 0xd4]
mov byte [ebp + ecx - 0xc1], al
inc ecx
cmp ecx, 0x11
jb 0x10019630
lea edx, [ebp - 0xc1]
mov byte [ebp - 0xb0], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x9c]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001967a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x100196c5
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100196bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bc1
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 4
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x448]
lea eax, [ebp - 0x9c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1001953e
jmp 0x1001953c
lea eax, [ebp - 0x74]
mov dword [ebp - 0x320], 0x64
push eax
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.WINTRUST.dll_CryptCATAdminCalcHashFromFileHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x320]
xor ecx, ecx
mov edx, 2
lea eax, [eax*2 + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100953db
mov ecx, dword [ebp - 0x320]
add esp, 4
xor esi, esi
mov dword [ebp - 0x328], eax
test ecx, ecx
je 0x1001977b
mov edi, eax
movzx eax, byte [ebp + esi - 0x74]
push eax
push str._02X
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x320]
inc esi
add esp, 0xc
add edi, 4
cmp esi, ecx
jb 0x10019752
mov edi, dword [ebp - 0x324]
push 0
push 0
push ecx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x31c]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminEnumCatalogFromHash]
mov esi, eax
mov dword [ebp - 0x324], esi
test esi, esi
jne 0x100197e0
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x370]
mov dword [ebp - 0x370], 0x10
mov dword [ebp - 0x36c], edi
mov dword [ebp - 0x34c], 1
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x344], esi
mov dword [ebp - 0x338], 0x100
jmp 0x1001983c
push 0
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.WINTRUST.dll_CryptCATCatalogInfoFromContext]
lea eax, [ebp - 0x314]
mov dword [ebp - 0x398], 0x28
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0x398]
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x34c], 2
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x348], eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x33c], 0
push eax
push 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x354], 2
mov dword [ebp - 0x360], 0x34
mov dword [ebp - 0xac], 0xaac56b
mov dword [ebp - 0xa8], 0x11d0cd44
mov dword [ebp - 0xa4], 0xc000c28c
mov dword [ebp - 0xa0], 0xee95c24f
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x32c], ecx
test eax, eax
jns 0x10019b67
push ecx
lea ecx, [ebp - 0x4f8]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x4e8]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
mov ecx, edi
mov dword [ebp - 0xfc], 0
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
mov esi, eax
movups xmmword [ebp - 0x10c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019921
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10c]
call fcn.10017a20
push ecx
lea edx, [ebp - 0x10c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x9c]
call fcn.10010210
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019965
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov esi, eax
mov dword [ebp - 0x84], 0x1a0d4868
mov ch, 0x1a
mov word [ebp - 0x80], 0x521a
add esp, 4
mov byte [ebp - 0x7e], 0
mov ah, 0x68
mov cl, 0x48
mov dl, 0xd
mov dh, ch
mov al, 0x52
mov byte [ebp - 4], 0xb
xor cl, ah
xor dl, ah
mov byte [ebp - 0x7d], cl
xor ch, ah
mov byte [ebp - 0x7c], dl
xor dh, ah
mov byte [ebp - 0x7b], ch
mov byte [ebp - 0x7a], dh
xor al, ah
lea edx, [ebp - 0x7d]
mov byte [ebp - 0x79], al
mov ecx, esi
mov byte [ebp - 0x78], 0
call fcn.10006770
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100199db
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 0xb
add esp, 4
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0x10
jb 0x10019a26
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019a1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bbc
push ecx
push edx
call fcn.1009517b
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0x83], eax
mov word [ebp - 0x7f], ax
cmp ecx, 0x10
jb 0x10019a8b
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019a81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bbc
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 8
jb 0x10019aea
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019ae0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bbc
push ecx
push edx
call fcn.1009517b
add esp, 8
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x4f8]
lea eax, [ebp - 0x9c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x10019b0f
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003ef0
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x10019b56
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019b4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019bbc
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x4f8]
call fcn.10004400
mov esi, dword [ebp - 0x324]
test esi, esi
je 0x10019b7a
push 0
push esi
push dword [ebp - 0x31c]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseCatalogContext]
push 0
push dword [ebp - 0x31c]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseContext]
push dword [ebp - 0x328]
call fcn.100951ac
mov eax, dword [ebp - 0x32c]
add esp, 4
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.10094e23
mov esp, ebp
pop ebp
ret
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
int3