Function at 0x1400518f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rbp + 0x170], rax
cmp byte [0x140287b06], 0
jne 0x140051b6f
call fcn.140050560
mov r11, rax
xor esi, esi
cmp byte [rax + 0xc], sil
jne 0x1400519a2
lea rcx, [rax + 0x10]
mov r8d, esi
nop dword [rax]
mov eax, dword [r11 + 4]
lea r9d, [rax + 1]
mov edx, dword [r11]
cmp edx, r9d
je 0x140051987
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140051987
cmp edx, eax
je 0x14005198f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140051980
add eax, 3
xor dword [rcx], eax
inc dword [r11]
jmp 0x140051950
add eax, 5
cmp edx, eax
jne 0x140051995
xor dword [rcx], r9d
inc dword [r11]
jmp 0x140051950
lea eax, [r8 - 0x71]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140051950
mov byte [r11 + 0xc], 1
mov edi, dword [r11 + 0x10]
call fcn.1400504d0
mov r11, rax
cmp byte [rax + 9], sil
jne 0x140051a40
mov r8d, esi
mov edx, dword [r11 + 4]
mov r9d, dword [r11]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x1400519de
inc dl
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x1400519c0
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x1400519f6
add dl, 2
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x1400519c0
cmp r9d, edx
je 0x140051a2b
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140051a13
add dl, 3
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x1400519c0
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x140051a37
add dl, 4
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x1400519c0
movsxd rcx, r8d
lea eax, [r8 - 0x72]
xor byte [rcx + r11 + 0xa], al
inc r8d
cmp r8d, 1
jb 0x1400519c0
mov byte [r11 + 9], 1
lea rbx, [r11 + 0xa]
call fcn.1400500d0
mov r10, rax
cmp byte [rax + 9], sil
jne 0x140051ae0
mov r8d, esi
nop
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x140051a7e
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140051a60
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140051a96
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140051a60
cmp r9d, edx
je 0x140051acb
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140051ab3
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140051a60
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x140051ad7
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140051a60
movsxd rcx, r8d
lea eax, [r8 - 0x72]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 0x1f
jb 0x140051a60
mov byte [r10 + 9], 1
lea rdx, [r10 + 0xa]
mov r9d, edi
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1400505f0
mov r11, rax
cmp byte [rax + 0xc], sil
jne 0x140051b5f
lea rcx, [rax + 0x10]
nop dword [rax]
mov eax, dword [r11 + 4]
lea r8d, [rax + 1]
mov edx, dword [r11]
cmp edx, r8d
je 0x140051b47
lea r8d, [rax + 2]
cmp edx, r8d
je 0x140051b47
cmp edx, eax
je 0x140051b4f
lea r8d, [rax + 4]
cmp edx, r8d
jne 0x140051b40
add eax, 3
xor dword [rcx], eax
inc dword [r11]
jmp 0x140051b10
add eax, 5
cmp edx, eax
jne 0x140051b54
xor dword [rcx], r8d
inc dword [r11]
jmp 0x140051b10
lea eax, [rsi - 0x71]
xor dword [rcx], eax
inc esi
add rcx, 4
cmp esi, 1
jb 0x140051b10
mov byte [r11 + 0xc], 1
mov ecx, dword [r11 + 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14004dea0
test al, al
je 0x140051c02
cmp byte [0x140287a1b], 0
jne 0x140052a23
call fcn.140052a30
mov r11, rax
cmp byte [rax + 0xc], 0
jne 0x140051bf2
lea rcx, [rax + 0x10]
xor r9d, r9d
nop
mov eax, dword [r11 + 4]
lea r8d, [rax + 1]
mov edx, dword [r11]
cmp edx, r8d
je 0x140051bd7
lea r8d, [rax + 2]
cmp edx, r8d
je 0x140051bd7
cmp edx, eax
je 0x140051bdf
lea r8d, [rax + 4]
cmp edx, r8d
jne 0x140051bd0
add eax, 3
xor dword [rcx], eax
inc dword [r11]
jmp 0x140051ba0
add eax, 5
cmp edx, eax
jne 0x140051be5
xor dword [rcx], r8d
inc dword [r11]
jmp 0x140051ba0
lea eax, [r9 - 0x55]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140051ba0
mov byte [r11 + 0xc], 1
mov ecx, dword [r11 + 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x54], 0
lea rcx, [rsp + 0x53]
call fcn.140050830
mov r9, rax
xor r13d, r13d
cmp byte [rax + 0xa], r13b
jne 0x140051cbc
mov edx, r13d
nop dword [rax]
mov ecx, dword [r9 + 4]
mov r8d, dword [r9]
lea eax, [rcx + 1]
cmp r8d, eax
jne 0x140051c50
inc cx
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051c30
lea eax, [rcx + 2]
cmp r8d, eax
jne 0x140051c6a
add cx, 2
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051c30
cmp r8d, ecx
je 0x140051ca3
lea eax, [rcx + 4]
cmp r8d, eax
jne 0x140051c89
add cx, 3
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051c30
lea eax, [rcx + 5]
cmp r8d, eax
jne 0x140051cb1
add cx, 4
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051c30
movsxd rax, edx
lea rcx, [r9 + rax*2]
lea eax, [rdx - 0x61]
xor word [rcx + 0xc], ax
inc edx
cmp edx, 5
jb 0x140051c30
mov byte [r9 + 0xa], 1
lea rbx, [r9 + 0xc]
lea rcx, [rsp + 0x54]
call fcn.1400507a0
mov r10, rax
cmp byte [rax + 0xc], r13b
jne 0x140051d32
lea rcx, [rax + 0x10]
mov r8d, r13d
nop
mov eax, dword [r10 + 4]
lea r9d, [rax + 1]
mov edx, dword [r10]
cmp edx, r9d
je 0x140051d17
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140051d17
cmp edx, eax
je 0x140051d1f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140051d10
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140051ce0
add eax, 5
cmp edx, eax
jne 0x140051d25
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140051ce0
lea eax, [r8 - 0x61]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140051ce0
mov byte [r10 + 0xc], 1
mov qword [rsp + 0x20], rbx
mov r9d, 0x20000
xor r8d, r8d
mov edx, dword [r10 + 0x10]
lea ecx, [r8 + 0xa]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400529ed
xor edx, edx
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400524ba
movzx ebx, byte [rsp + 0x50]
nop word [rax + rax]
xor r12b, r12b
mov r13, qword [rsi + 0x18]
xor edi, edi
mov r14d, dword [r13 + 0xc0]
test r14d, r14d
je 0x140051ff4
mov r15, qword [r13 + 0xc8]
mov esi, edi
mov ecx, edi
shl rcx, 5
lea rdx, str.2.5.29.17
mov rcx, qword [rcx + r15]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140051e50
inc edi
cmp edi, r14d
jb 0x140051db0
xor r13d, r13d
mov rsi, qword [rsp + 0x58]
test r12b, r12b
je 0x140052496
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x52]
call fcn.140050930
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140052025
lea rcx, [rax + 0x10]
mov r9d, r13d
nop dword [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140052003
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140052003
cmp edx, eax
je 0x14005200e
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140051ffc
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140051e10
xor eax, eax
mov dword [rbp - 0x80], eax
shl rsi, 5
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + r15 + 0x10]
mov r8, qword [rsi + r15 + 0x18]
lea edx, [rax + 0xc]
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptDecodeObject]
test eax, eax
je 0x140051dd7
mov ecx, dword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140051dd7
mov rcx, qword [r13 + 0xc8]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov r9d, dword [rsi + rcx + 0x10]
mov r8, qword [rsi + rcx + 0x18]
lea edx, [r13 + 0xc]
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptDecodeObject]
test eax, eax
je 0x140051fe6
mov edi, r13d
cmp dword [r14], r13d
jbe 0x140051fe6
nop word [rax + rax]
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
cmp dword [rax + rcx*8], 3
jne 0x140051fd7
mov rsi, qword [rax + rcx*8 + 8]
test rsi, rsi
je 0x140051fd7
mov byte [rsp + 0x55], r12b
lea rcx, [rsp + 0x55]
call fcn.140050680
mov r10, rax
cmp byte [rax + 0xa], r12b
jne 0x140051fc0
mov r8d, r13d
mov ecx, dword [r10 + 4]
mov r9d, dword [r10]
lea edx, [rcx + 1]
cmp r9d, edx
jne 0x140051f51
inc cx
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051f31
lea eax, [rcx + 2]
cmp r9d, eax
jne 0x140051f6b
add cx, 2
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051f31
cmp r9d, ecx
je 0x140051fa4
lea eax, [rcx + 4]
cmp r9d, eax
jne 0x140051f8a
add cx, 3
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051f31
lea eax, [rcx + 5]
cmp r9d, eax
jne 0x140051fb3
add cx, 4
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051f31
movsxd rax, r8d
lea rdx, [r10 + rax*2]
lea eax, [r8 - 0x6e]
xor word [rdx + 0xc], ax
inc r8d
cmp r8d, 6
jb 0x140051f31
mov byte [r10 + 0xa], 1
lea rdx, [r10 + 0xc]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140051fe3
inc edi
cmp edi, dword [r14]
jae 0x140051fe6
jmp 0x140051ef0
mov r12b, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140051dda
xor r13d, r13d
jmp 0x140051ddf
add eax, 5
cmp edx, eax
jne 0x140052014
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140051e10
lea eax, [r9 - 0x60]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140051e10
mov byte [r8 + 0xc], 1
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x52]
call fcn.140050ae0
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x1400520b2
lea rcx, [rax + 0x10]
mov r9d, r13d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140052097
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140052097
cmp edx, eax
je 0x14005209f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140052090
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052060
add eax, 5
cmp edx, eax
jne 0x1400520a5
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140052060
lea eax, [r9 - 0x5f]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140052060
mov byte [r8 + 0xc], 1
mov esi, dword [r8 + 0x10]
lea rcx, [rsp + 0x51]
call fcn.140050a50
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140052132
lea rcx, [rax + 0x10]
mov r9d, r13d
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140052117
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140052117
cmp edx, eax
je 0x14005211f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140052110
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x1400520e0
add eax, 5
cmp edx, eax
jne 0x140052125
xor dword [rcx], r10d
inc dword [r8]
jmp 0x1400520e0
lea eax, [r9 - 0x60]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x1400520e0
mov byte [r8 + 0xc], 1
mov edi, dword [r8 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400509c0
mov r10, rax
cmp byte [rax + 0xc], 0
jne 0x1400521b2
lea rcx, [rax + 0x10]
mov r8d, r13d
nop word [rax + rax]
mov eax, dword [r10 + 4]
lea r9d, [rax + 1]
mov edx, dword [r10]
cmp edx, r9d
je 0x140052197
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140052197
cmp edx, eax
je 0x14005219f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140052190
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140052160
add eax, 5
cmp edx, eax
jne 0x1400521a5
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140052160
lea eax, [r8 - 0x60]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140052160
mov byte [r10 + 0xc], 1
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, edi
mov edx, dword [r10 + 0x10]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CertGetNameStringA]
mov esi, eax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x50]
call fcn.140050c00
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140052262
lea rcx, [rax + 0x10]
mov r9d, r13d
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140052247
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140052247
cmp edx, eax
je 0x14005224f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140052240
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052210
add eax, 5
cmp edx, eax
jne 0x140052255
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140052210
lea eax, [r9 - 0x5e]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140052210
mov byte [r8 + 0xc], 1
mov edi, dword [r8 + 0x10]
lea rcx, [rsp + 0x51]
call fcn.140050b70
mov r10, rax
cmp byte [rax + 0xc], 0
jne 0x1400522e2
lea rcx, [rax + 0x10]
mov r8d, r13d
nop word [rax + rax]
mov eax, dword [r10 + 4]
lea r9d, [rax + 1]
mov edx, dword [r10]
cmp edx, r9d
je 0x1400522c7
lea r9d, [rax + 2]
cmp edx, r9d
je 0x1400522c7
cmp edx, eax
je 0x1400522cf
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x1400522c0
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140052290
add eax, 5
cmp edx, eax
jne 0x1400522d5
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140052290
lea eax, [r8 - 0x5f]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140052290
mov byte [r10 + 0xc], 1
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, edi
mov edx, dword [r10 + 0x10]
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertGetNameStringA]
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140050c90
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140052382
lea rcx, [rax + 0x10]
mov r9d, r13d
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x140052367
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140052367
cmp edx, eax
je 0x14005236f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140052360
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052330
add eax, 5
cmp edx, eax
jne 0x140052375
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140052330
lea eax, [r9 - 0x5e]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140052330
mov byte [r8 + 0xc], 1
mov eax, dword [r8 + 0x10]
mov dword [rbp - 0x7c], eax
lea r9, [rbp - 0x7c]
xor r8d, r8d
lea edx, [r8 + 3]
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
jne 0x1400523b4
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140052496
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov edi, dword [rbp - 0x7c]
lea r8, [rsp + 0x56]
movzx edx, bl
lea rcx, [rbp - 0x78]
call fcn.140052e50
lea r8, [rsp + 0x57]
mov edx, edi
lea rcx, [rbp - 0x78]
call fcn.140052e70
nop
mov byte [rsp + 0x50], 0
mov rdi, qword [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.140050d20
mov r10, rax
cmp byte [rax + 0xc], 0
jne 0x140052462
lea rcx, [rax + 0x10]
mov r8d, r13d
nop dword [rax]
mov eax, dword [r10 + 4]
lea r9d, [rax + 1]
mov edx, dword [r10]
cmp edx, r9d
je 0x140052447
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140052447
cmp edx, eax
je 0x14005244f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140052440
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140052410
add eax, 5
cmp edx, eax
jne 0x140052455
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140052410
lea eax, [r8 - 0x5e]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140052410
mov byte [r10 + 0xc], 1
lea r9, [rbp - 0x7c]
mov r8, rdi
mov edx, dword [r10 + 0x10]
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
jne 0x140052520
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x78]
call fcn.140044150
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140051d90
mov rbx, qword [rsp + 0x60]
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140051860
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x1400529db
lea rcx, [rax + 0x10]
nop word [rax + rax]
mov eax, dword [r8 + 4]
lea r9d, [rax + 1]
mov edx, dword [r8]
cmp edx, r9d
je 0x1400529b9
lea r9d, [rax + 2]
cmp edx, r9d
je 0x1400529b9
cmp edx, eax
je 0x1400529c4
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x1400529b2
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x1400524e0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.140052ac0
nop
mov r14, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
cmp rdi, r14
je 0x1400526ec
movzx esi, byte [rdi]
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
lea rdx, [0x14004a590]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x14004a5b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140050db0
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x1400525f2
lea rcx, [rax + 0x10]
mov r9d, r13d
nop
mov eax, dword [r8 + 4]
lea r10d, [rax + 1]
mov edx, dword [r8]
cmp edx, r10d
je 0x1400525d7
lea r10d, [rax + 2]
cmp edx, r10d
je 0x1400525d7
cmp edx, eax
je 0x1400525df
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x1400525d0
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x1400525a0
add eax, 5
cmp edx, eax
jne 0x1400525e5
xor dword [rcx], r10d
inc dword [r8]
jmp 0x1400525a0
lea eax, [r9 - 0x5d]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x1400525a0
mov byte [r8 + 0xc], 1
movsxd rdx, dword [r8 + 0x10]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
lea rcx, [rsp + 0x51]
call fcn.140050e40
mov r10, rax
cmp byte [rax + 9], 0
jne 0x1400526c0
mov r8d, r13d
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x14005265e
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052640
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140052676
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052640
cmp r9d, edx
je 0x1400526ab
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140052693
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052640
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x1400526b7
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052640
movsxd rcx, r8d
lea eax, [r8 - 0x5d]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 1
jb 0x140052640
mov byte [r10 + 9], 1
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
movzx eax, byte [r10 + 0xa]
mov byte [rcx + rbx + 0x58], al
mov edx, esi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc rdi
cmp rdi, r14
jne 0x140052551
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x88]
call fcn.140052c70
nop
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x50]
call fcn.140051730
mov r9, rax
cmp byte [rax + 9], 0
jne 0x14005279e
mov edx, r13d
mov ecx, dword [r9 + 4]
mov r8d, dword [r9]
lea eax, [rcx + 1]
cmp r8d, eax
jne 0x14005273f
inc cl
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052721
lea eax, [rcx + 2]
cmp r8d, eax
jne 0x140052757
add cl, 2
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052721
cmp r8d, ecx
je 0x14005278c
lea eax, [rcx + 4]
cmp r8d, eax
jne 0x140052774
add cl, 3
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052721
lea eax, [rcx + 5]
cmp r8d, eax
jne 0x140052797
add cl, 4
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052721
movsxd rcx, edx
lea eax, [rdx - 0x5c]
xor byte [rcx + r9 + 0xa], al
inc edx
cmp edx, 2
jb 0x140052721
mov byte [r9 + 9], 1
lea rbx, [r9 + 0xa]
lea rcx, [rsp + 0x51]
call fcn.140050ed0
mov r10, rax
cmp byte [rax + 9], 0
jne 0x140052841
mov r8d, r13d
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x1400527df
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400527c1
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x1400527f7
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400527c1
cmp r9d, edx
je 0x14005282c
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140052814
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400527c1
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x140052838
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400527c1
movsxd rcx, r8d
lea eax, [r8 - 0x5d]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 0x44
jb 0x1400527c1
mov byte [r10 + 9], 1
lea rdx, [r10 + 0xa]
lea r8, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140048400
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140052860
mov rdx, rbx
mov rcx, rax
call fcn.1400463d0
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140045b60
nop
lea rcx, [rsp + 0x60]
call fcn.140045b00
lea rcx, [rbp + 0x50]
call fcn.140045af0
mov rdx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x40], 0x68
psrldq xmm1, 0xc
movd eax, xmm1
or eax, 1
mov dword [rbp - 4], eax
mov word [rbp], r13w
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x140287a1b], 0
jne 0x140052a1d
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x52]
call fcn.1400517d0
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x1400529a2
lea rcx, [rax + 0x10]
nop dword [rax + rax]
mov eax, dword [r8 + 4]
lea r9d, [rax + 1]
mov edx, dword [r8]
cmp edx, r9d
je 0x140052987
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140052987
cmp edx, eax
je 0x14005298f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140052980
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052950
add eax, 5
cmp edx, eax
jne 0x140052995
xor dword [rcx], r9d
inc dword [r8]
jmp 0x140052950
lea eax, [r13 - 0x5c]
xor dword [rcx], eax
inc r13d
add rcx, 4
cmp r13d, 1
jb 0x140052950
mov byte [r8 + 0xc], 1
mov ecx, dword [r8 + 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
add eax, 5
cmp edx, eax
jne 0x1400529ca
xor dword [rcx], r9d
inc dword [r8]
jmp 0x1400524e0
lea eax, [r13 - 0x5b]
xor dword [rcx], eax
inc r13d
add rcx, 4
cmp r13d, 1
jb 0x1400524e0
mov byte [r8 + 0xc], 1
mov edx, dword [r8 + 0x10]
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400956c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004a5c0
nop
call fcn.14004a5c0
int3