Function at 0x1400ad320
Capabilities:
Create process on windows
Delete file
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r15, r8
mov r14, rdx
mov rsi, qword [rbp + 0x5d0]
mov r13, qword [rbp + 0x5d8]
xor ebx, ebx
mov dword [rsp + 0x58], ebx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x70], 0x68
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x350]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x350]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x350]
lea rax, [rbp + 0x350]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ad3f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rbx
lea rcx, [rbp + 0x80]
call fcn.1400768b0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
call fcn.1402674e8
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], bx
mov dword [rsp + 0x58], reloc.WS2_32.dll_send
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8d, [r9 + 0xf]
lea rdx, str.html_to_pdf.exe
mov ecx, eax
call fcn.140267510
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x1400adc9d
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp + 0x60]
call fcn.14009d110
lea r9, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae r9, qword [rbp + 0x60]
mov dword [rsp + 0x20], ebx
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.html_to_pdf.exe
mov ecx, edi
call fcn.140267510
shr rax, 0x20
test eax, eax
jne 0x1400adc95
lea rdi, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdi, qword [rbp + 0x80]
mov rax, qword [rbp + 0x90]
lea rbx, [rdi + rax*2]
mov rdx, rbx
mov rcx, rdi
call fcn.14009c910
cmp rax, rbx
je 0x1400ad54d
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400ad4ff
cmp cx, 0x2f
jne 0x1400ad508
add rax, 2
cmp rax, rbx
jne 0x1400ad4f0
cmp rax, rbx
je 0x1400ad54d
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400ad52d
cmp cx, 0x2f
je 0x1400ad52d
mov rbx, rdx
cmp rax, rdx
jne 0x1400ad510
jmp 0x1400ad54d
cmp rax, rbx
je 0x1400ad54d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400ad545
cmp cx, 0x2f
jne 0x1400ad54d
mov rbx, rdx
cmp rax, rdx
jne 0x1400ad532
sub rbx, rdi
sar rbx, 1
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp]
call fcn.1400768b0
nop
lea r8, [rbp + 0x60]
lea rdx, [rbp]
lea rcx, [rbp + 0x100]
call fcn.14009c570
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400ad5cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad5c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad5c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1400ad611
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad60b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad60b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0x70], xmm0
xor ebx, ebx
mov word [rbp + 0x60], bx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xa0]
call fcn.14008dc70
nop
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400ad685
lea rax, [rcx + 2]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xa0]
cmp rdx, 8
cmovae rax, qword [rbp + 0xa0]
mov dword [rax + rcx*2], 0x220020
mov word [rax + rcx*2 + 4], bx
lea rax, [rbp + 0xa0]
jmp 0x1400ad6ac
mov qword [rsp + 0x20], 2
lea r9, [0x140280f20]
movzx r8d, byte [rsp + 0x50]
mov edx, 2
lea rcx, [rbp + 0xa0]
call fcn.14009c2d0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x1400ad6e7
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rbp]
call fcn.14009cc20
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdi, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
sub rax, rdi
cmp rax, 3
jb 0x1400ad76e
lea rax, [rdi + 3]
mov qword [rbp + 0x50], rax
lea rbx, [rbp + 0x40]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x40]
lea rcx, [rbx + rdi*2]
mov r8d, 6
lea rdx, [0x140280f18]
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rdi*2 + 6], ax
lea rax, [rbp + 0x40]
xor ebx, ebx
jmp 0x1400ad792
mov qword [rsp + 0x20], 3
lea r9, [0x140280f18]
movzx r8d, byte [rsp + 0x50]
mov edx, 3
lea rcx, [rbp + 0x40]
call fcn.14009c2d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400ad7d8
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0xe0]
call fcn.14009cc20
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400ad84b
lea rax, [rcx + 1]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
cmp rdx, 8
cmovae rax, qword [rbp + 0x20]
mov dword [rax + rcx*2], 0x22
lea rax, [rbp + 0x20]
jmp 0x1400ad86f
mov qword [rsp + 0x20], 1
lea r9, [0x140280f10]
movzx r8d, byte [rsp + 0x50]
mov edx, 1
lea rcx, [rbp + 0x20]
call fcn.14009c2d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400ad8ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad8e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad8e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], bx
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x1400ad947
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad941
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad941
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], bx
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1400ad9a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad99c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad99c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], bx
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400ad9f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad9f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad9f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], bx
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x1400ada52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ada4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ada4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], bx
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rdx, qword [rbp + 0xc0]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400adb90
nop dword [rax + rax]
mov edx, 0x1f4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400adb10
test rsi, rsi
je 0x1400adac0
mov rcx, r13
call rsi
test al, al
je 0x1400adac0
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp qword [r15 + 0x18], 8
jb 0x1400adafc
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12d, 0xfffffff6
jmp 0x1400adb90
test eax, eax
jne 0x1400adac0
mov dword [rsp + 0x54], ebx
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x120]
call fcn.14025e800
nop
lea rcx, [rbp + 0x120]
call fcn.14025f760
test al, al
je 0x1400adb6c
lea rdx, str.CEF_to_pdf_conversion_result_code_
lea rcx, [rbp + 0x120]
call fcn.140255d20
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.140255c30
nop
lea rcx, [rbp + 0x120]
call fcn.140255600
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x1400adb8d
cmp eax, 0xfffffff6
jne 0x1400adb90
mov r12d, 0xfffffff5
jmp 0x1400adb90
mov r12d, ebx
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x1400adbda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400adbd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400adbd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], bx
lea rcx, [rbp + 0x100]
call fcn.140087170
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400adc48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400adc42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400adc42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], bx
lea rcx, [rbp - 0x80]
call fcn.1400ad2b0
mov eax, r12d
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.140098630
int3
mov ecx, eax
call fcn.140098630
int3