Function at 0x140051760
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 [0x140287af6], 0
jne 0x1400519df
call fcn.1400503d0
mov r11, rax
xor esi, esi
cmp byte [rax + 0xc], sil
jne 0x140051812
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 0x1400517f7
lea r9d, [rax + 2]
cmp edx, r9d
je 0x1400517f7
cmp edx, eax
je 0x1400517ff
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x1400517f0
add eax, 3
xor dword [rcx], eax
inc dword [r11]
jmp 0x1400517c0
add eax, 5
cmp edx, eax
jne 0x140051805
xor dword [rcx], r9d
inc dword [r11]
jmp 0x1400517c0
lea eax, [r8 - 0x71]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x1400517c0
mov byte [r11 + 0xc], 1
mov edi, dword [r11 + 0x10]
call fcn.140050340
mov r11, rax
cmp byte [rax + 9], sil
jne 0x1400518b0
mov r8d, esi
mov edx, dword [r11 + 4]
mov r9d, dword [r11]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x14005184e
inc dl
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x140051830
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140051866
add dl, 2
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x140051830
cmp r9d, edx
je 0x14005189b
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140051883
add dl, 3
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x140051830
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x1400518a7
add dl, 4
movsxd rax, r8d
xor byte [rax + r11 + 0xa], dl
inc dword [r11]
jmp 0x140051830
movsxd rcx, r8d
lea eax, [r8 - 0x72]
xor byte [rcx + r11 + 0xa], al
inc r8d
cmp r8d, 1
jb 0x140051830
mov byte [r11 + 9], 1
lea rbx, [r11 + 0xa]
call fcn.14004ff40
mov r10, rax
cmp byte [rax + 9], sil
jne 0x140051950
mov r8d, esi
nop
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x1400518ee
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400518d0
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140051906
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400518d0
cmp r9d, edx
je 0x14005193b
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140051923
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400518d0
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x140051947
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400518d0
movsxd rcx, r8d
lea eax, [r8 - 0x72]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 0x1f
jb 0x1400518d0
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.140050460
mov r11, rax
cmp byte [rax + 0xc], sil
jne 0x1400519cf
lea rcx, [rax + 0x10]
nop dword [rax]
mov eax, dword [r11 + 4]
lea r8d, [rax + 1]
mov edx, dword [r11]
cmp edx, r8d
je 0x1400519b7
lea r8d, [rax + 2]
cmp edx, r8d
je 0x1400519b7
cmp edx, eax
je 0x1400519bf
lea r8d, [rax + 4]
cmp edx, r8d
jne 0x1400519b0
add eax, 3
xor dword [rcx], eax
inc dword [r11]
jmp 0x140051980
add eax, 5
cmp edx, eax
jne 0x1400519c4
xor dword [rcx], r8d
inc dword [r11]
jmp 0x140051980
lea eax, [rsi - 0x71]
xor dword [rcx], eax
inc esi
add rcx, 4
cmp esi, 1
jb 0x140051980
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.14004dd10
test al, al
je 0x140051a72
cmp byte [0x140287a1c], 0
jne 0x140052893
call fcn.1400528a0
mov r11, rax
cmp byte [rax + 0xc], 0
jne 0x140051a62
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 0x140051a47
lea r8d, [rax + 2]
cmp edx, r8d
je 0x140051a47
cmp edx, eax
je 0x140051a4f
lea r8d, [rax + 4]
cmp edx, r8d
jne 0x140051a40
add eax, 3
xor dword [rcx], eax
inc dword [r11]
jmp 0x140051a10
add eax, 5
cmp edx, eax
jne 0x140051a55
xor dword [rcx], r8d
inc dword [r11]
jmp 0x140051a10
lea eax, [r9 - 0x55]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140051a10
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.1400506a0
mov r9, rax
xor r13d, r13d
cmp byte [rax + 0xa], r13b
jne 0x140051b2c
mov edx, r13d
nop dword [rax]
mov ecx, dword [r9 + 4]
mov r8d, dword [r9]
lea eax, [rcx + 1]
cmp r8d, eax
jne 0x140051ac0
inc cx
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051aa0
lea eax, [rcx + 2]
cmp r8d, eax
jne 0x140051ada
add cx, 2
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051aa0
cmp r8d, ecx
je 0x140051b13
lea eax, [rcx + 4]
cmp r8d, eax
jne 0x140051af9
add cx, 3
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051aa0
lea eax, [rcx + 5]
cmp r8d, eax
jne 0x140051b21
add cx, 4
movsxd rax, edx
xor word [r9 + rax*2 + 0xc], cx
inc dword [r9]
jmp 0x140051aa0
movsxd rax, edx
lea rcx, [r9 + rax*2]
lea eax, [rdx - 0x61]
xor word [rcx + 0xc], ax
inc edx
cmp edx, 5
jb 0x140051aa0
mov byte [r9 + 0xa], 1
lea rbx, [r9 + 0xc]
lea rcx, [rsp + 0x54]
call fcn.140050610
mov r10, rax
cmp byte [rax + 0xc], r13b
jne 0x140051ba2
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 0x140051b87
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140051b87
cmp edx, eax
je 0x140051b8f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140051b80
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140051b50
add eax, 5
cmp edx, eax
jne 0x140051b95
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140051b50
lea eax, [r8 - 0x61]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140051b50
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 0x14005285d
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 0x14005232a
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 0x140051e64
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 0x140051cc0
inc edi
cmp edi, r14d
jb 0x140051c20
xor r13d, r13d
mov rsi, qword [rsp + 0x58]
test r12b, r12b
je 0x140052306
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x52]
call fcn.1400507a0
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140051e95
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 0x140051e73
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140051e73
cmp edx, eax
je 0x140051e7e
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140051e6c
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140051c80
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 0x140051c47
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 0x140051c47
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 0x140051e56
mov edi, r13d
cmp dword [r14], r13d
jbe 0x140051e56
nop word [rax + rax]
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
cmp dword [rax + rcx*8], 3
jne 0x140051e47
mov rsi, qword [rax + rcx*8 + 8]
test rsi, rsi
je 0x140051e47
mov byte [rsp + 0x55], r12b
lea rcx, [rsp + 0x55]
call fcn.1400504f0
mov r10, rax
cmp byte [rax + 0xa], r12b
jne 0x140051e30
mov r8d, r13d
mov ecx, dword [r10 + 4]
mov r9d, dword [r10]
lea edx, [rcx + 1]
cmp r9d, edx
jne 0x140051dc1
inc cx
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051da1
lea eax, [rcx + 2]
cmp r9d, eax
jne 0x140051ddb
add cx, 2
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051da1
cmp r9d, ecx
je 0x140051e14
lea eax, [rcx + 4]
cmp r9d, eax
jne 0x140051dfa
add cx, 3
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051da1
lea eax, [rcx + 5]
cmp r9d, eax
jne 0x140051e23
add cx, 4
movsxd rax, r8d
xor word [r10 + rax*2 + 0xc], cx
inc dword [r10]
jmp 0x140051da1
movsxd rax, r8d
lea rdx, [r10 + rax*2]
lea eax, [r8 - 0x6e]
xor word [rdx + 0xc], ax
inc r8d
cmp r8d, 6
jb 0x140051da1
mov byte [r10 + 0xa], 1
lea rdx, [r10 + 0xc]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140051e53
inc edi
cmp edi, dword [r14]
jae 0x140051e56
jmp 0x140051d60
mov r12b, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140051c4a
xor r13d, r13d
jmp 0x140051c4f
add eax, 5
cmp edx, eax
jne 0x140051e84
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140051c80
lea eax, [r9 - 0x60]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140051c80
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.140050950
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140051f22
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 0x140051f07
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140051f07
cmp edx, eax
je 0x140051f0f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140051f00
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140051ed0
add eax, 5
cmp edx, eax
jne 0x140051f15
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140051ed0
lea eax, [r9 - 0x5f]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140051ed0
mov byte [r8 + 0xc], 1
mov esi, dword [r8 + 0x10]
lea rcx, [rsp + 0x51]
call fcn.1400508c0
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140051fa2
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 0x140051f87
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140051f87
cmp edx, eax
je 0x140051f8f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140051f80
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140051f50
add eax, 5
cmp edx, eax
jne 0x140051f95
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140051f50
lea eax, [r9 - 0x60]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140051f50
mov byte [r8 + 0xc], 1
mov edi, dword [r8 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140050830
mov r10, rax
cmp byte [rax + 0xc], 0
jne 0x140052022
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 0x140052007
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140052007
cmp edx, eax
je 0x14005200f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140052000
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140051fd0
add eax, 5
cmp edx, eax
jne 0x140052015
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140051fd0
lea eax, [r8 - 0x60]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140051fd0
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.140050a70
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x1400520d2
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 0x1400520b7
lea r10d, [rax + 2]
cmp edx, r10d
je 0x1400520b7
cmp edx, eax
je 0x1400520bf
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x1400520b0
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052080
add eax, 5
cmp edx, eax
jne 0x1400520c5
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140052080
lea eax, [r9 - 0x5e]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140052080
mov byte [r8 + 0xc], 1
mov edi, dword [r8 + 0x10]
lea rcx, [rsp + 0x51]
call fcn.1400509e0
mov r10, rax
cmp byte [rax + 0xc], 0
jne 0x140052152
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 0x140052137
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140052137
cmp edx, eax
je 0x14005213f
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140052130
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140052100
add eax, 5
cmp edx, eax
jne 0x140052145
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140052100
lea eax, [r8 - 0x5f]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140052100
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.140050b00
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x1400521f2
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 0x1400521d7
lea r10d, [rax + 2]
cmp edx, r10d
je 0x1400521d7
cmp edx, eax
je 0x1400521df
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x1400521d0
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x1400521a0
add eax, 5
cmp edx, eax
jne 0x1400521e5
xor dword [rcx], r10d
inc dword [r8]
jmp 0x1400521a0
lea eax, [r9 - 0x5e]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x1400521a0
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 0x140052224
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140052306
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.140052cc0
lea r8, [rsp + 0x57]
mov edx, edi
lea rcx, [rbp - 0x78]
call fcn.140052ce0
nop
mov byte [rsp + 0x50], 0
mov rdi, qword [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.140050b90
mov r10, rax
cmp byte [rax + 0xc], 0
jne 0x1400522d2
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 0x1400522b7
lea r9d, [rax + 2]
cmp edx, r9d
je 0x1400522b7
cmp edx, eax
je 0x1400522bf
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x1400522b0
add eax, 3
xor dword [rcx], eax
inc dword [r10]
jmp 0x140052280
add eax, 5
cmp edx, eax
jne 0x1400522c5
xor dword [rcx], r9d
inc dword [r10]
jmp 0x140052280
lea eax, [r8 - 0x5e]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x140052280
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 0x140052390
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x78]
call fcn.1400440b0
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 0x140051c00
mov rbx, qword [rsp + 0x60]
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.1400516d0
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x14005284b
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 0x140052829
lea r9d, [rax + 2]
cmp edx, r9d
je 0x140052829
cmp edx, eax
je 0x140052834
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x140052822
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052350
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.140052930
nop
mov r14, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
cmp rdi, r14
je 0x14005255c
movzx esi, byte [rdi]
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
lea rdx, [0x14004a400]
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, [0x14004a420]
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.140050c20
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140052462
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 0x140052447
lea r10d, [rax + 2]
cmp edx, r10d
je 0x140052447
cmp edx, eax
je 0x14005244f
lea r10d, [rax + 4]
cmp edx, r10d
jne 0x140052440
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x140052410
add eax, 5
cmp edx, eax
jne 0x140052455
xor dword [rcx], r10d
inc dword [r8]
jmp 0x140052410
lea eax, [r9 - 0x5d]
xor dword [rcx], eax
inc r9d
add rcx, 4
cmp r9d, 1
jb 0x140052410
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.140050cb0
mov r10, rax
cmp byte [rax + 9], 0
jne 0x140052530
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 0x1400524ce
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400524b0
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x1400524e6
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400524b0
cmp r9d, edx
je 0x14005251b
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140052503
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400524b0
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x140052527
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x1400524b0
movsxd rcx, r8d
lea eax, [r8 - 0x5d]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 1
jb 0x1400524b0
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 0x1400523c1
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x88]
call fcn.140052ae0
nop
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x50]
call fcn.1400515a0
mov r9, rax
cmp byte [rax + 9], 0
jne 0x14005260e
mov edx, r13d
mov ecx, dword [r9 + 4]
mov r8d, dword [r9]
lea eax, [rcx + 1]
cmp r8d, eax
jne 0x1400525af
inc cl
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052591
lea eax, [rcx + 2]
cmp r8d, eax
jne 0x1400525c7
add cl, 2
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052591
cmp r8d, ecx
je 0x1400525fc
lea eax, [rcx + 4]
cmp r8d, eax
jne 0x1400525e4
add cl, 3
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052591
lea eax, [rcx + 5]
cmp r8d, eax
jne 0x140052607
add cl, 4
movsxd rax, edx
xor byte [rax + r9 + 0xa], cl
inc dword [r9]
jmp 0x140052591
movsxd rcx, edx
lea eax, [rdx - 0x5c]
xor byte [rcx + r9 + 0xa], al
inc edx
cmp edx, 2
jb 0x140052591
mov byte [r9 + 9], 1
lea rbx, [r9 + 0xa]
lea rcx, [rsp + 0x51]
call fcn.140050d40
mov r10, rax
cmp byte [rax + 9], 0
jne 0x1400526b1
mov r8d, r13d
mov edx, dword [r10 + 4]
mov r9d, dword [r10]
lea ecx, [rdx + 1]
cmp r9d, ecx
jne 0x14005264f
inc dl
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052631
lea eax, [rdx + 2]
cmp r9d, eax
jne 0x140052667
add dl, 2
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052631
cmp r9d, edx
je 0x14005269c
lea eax, [rdx + 4]
cmp r9d, eax
jne 0x140052684
add dl, 3
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052631
lea eax, [rdx + 5]
cmp r9d, eax
jne 0x1400526a8
add dl, 4
movsxd rax, r8d
xor byte [rax + r10 + 0xa], dl
inc dword [r10]
jmp 0x140052631
movsxd rcx, r8d
lea eax, [r8 - 0x5d]
xor byte [rcx + r10 + 0xa], al
inc r8d
cmp r8d, 0x44
jb 0x140052631
mov byte [r10 + 9], 1
lea rdx, [r10 + 0xa]
lea r8, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140048330
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400526d0
mov rdx, rbx
mov rcx, rax
call fcn.140046300
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140045a90
nop
lea rcx, [rsp + 0x60]
call fcn.140045a30
lea rcx, [rbp + 0x50]
call fcn.140045a20
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 [0x140287a1c], 0
jne 0x14005288d
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x52]
call fcn.140051640
mov r8, rax
cmp byte [rax + 0xc], 0
jne 0x140052812
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 0x1400527f7
lea r9d, [rax + 2]
cmp edx, r9d
je 0x1400527f7
cmp edx, eax
je 0x1400527ff
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x1400527f0
add eax, 3
xor dword [rcx], eax
inc dword [r8]
jmp 0x1400527c0
add eax, 5
cmp edx, eax
jne 0x140052805
xor dword [rcx], r9d
inc dword [r8]
jmp 0x1400527c0
lea eax, [r13 - 0x5c]
xor dword [rcx], eax
inc r13d
add rcx, 4
cmp r13d, 1
jb 0x1400527c0
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 0x14005283a
xor dword [rcx], r9d
inc dword [r8]
jmp 0x140052350
lea eax, [r13 - 0x5b]
xor dword [rcx], eax
inc r13d
add rcx, 4
cmp r13d, 1
jb 0x140052350
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.140095530
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.14004a430
nop
call fcn.14004a430
int3