Function at 0x100190f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb1df
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
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, 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.10093d00
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 0x10019327
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.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100ead90]
mov esi, eax
movups xmmword [ebp - 0xf4], xmm0
mov word [ebp - 0xd4], 0x7620
movaps xmm0, xmmword [0x100eacf0]
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 0x10019210
lea edx, [ebp - 0xd1]
mov byte [ebp - 0xb0], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x9c]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001925a
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 0x100192a5
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001929b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019947
push ecx
push edx
call fcn.1009197a
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 0x100192ce
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 0x10019315
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001930b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001994c
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0x448]
call fcn.10004400
xor eax, eax
jmp 0x1001992c
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 0x10019485
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.1001e810
mov edx, 0x100e746c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100eac60]
mov esi, eax
movups xmmword [ebp - 0xd4], xmm0
mov word [ebp - 0xc4], 0x4e18
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 0x100193c0
lea edx, [ebp - 0xc1]
mov byte [ebp - 0xb0], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x9c]
mov esi, eax
call fcn.1001add0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001940a
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 0x10019455
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001944b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019951
push ecx
push edx
call fcn.1009197a
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 0x100192ce
jmp 0x100192cc
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.10091bda
mov ecx, dword [ebp - 0x320]
add esp, 4
xor esi, esi
mov dword [ebp - 0x328], eax
test ecx, ecx
je 0x1001950b
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 0x100194e2
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 0x10019570
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 0x100195cc
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 0x100198f7
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.1001e810
mov edx, 0x100e746c
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 0x100196b1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10c]
call fcn.10017970
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 0x100196f5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov esi, eax
mov dword [ebp - 0x84], 0x1165373
mov ch, 1
mov word [ebp - 0x80], 0x4901
add esp, 4
mov byte [ebp - 0x7e], 0
mov ah, 0x73
mov cl, 0x53
mov dl, 0x16
mov dh, ch
mov al, 0x49
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.1001add0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001976b
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 0x100197b6
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100197ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001994c
push ecx
push edx
call fcn.1009197a
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 0x1001981b
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019811
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001994c
push ecx
push edx
call fcn.1009197a
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 0x1001987a
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019870
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001994c
push ecx
push edx
call fcn.1009197a
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 0x1001989f
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 0x100198e6
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100198dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001994c
push ecx
push edx
call fcn.1009197a
add esp, 8
lea ecx, [ebp - 0x4f8]
call fcn.10004400
mov esi, dword [ebp - 0x324]
test esi, esi
je 0x1001990a
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.100919ab
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.10091622
mov esp, ebp
pop ebp
ret
call fcn.1009d81f
call fcn.1009d81f
call fcn.1009d81f
int3