Function at 0x1004421b0
Capabilities:
Persist via application shimming
Reference sql statements
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38c8]
mov eax, 0x39e8
call fcn.10046b370
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x100499010]
xor rax, rsp
mov qword [rbp + 0x38b0], rax
mov qword [rbp - 0x40], r9
mov rsi, r8
mov qword [rbp - 0x78], rdx
mov r14, rcx
mov rax, qword [rbp + 0x3938]
mov qword [rbp - 0x50], rax
mov r12, qword [rbp + 0x3940]
mov r15, qword [rbp + 0x3948]
mov rdi, qword [rbp + 0x3950]
movups xmm0, xmmword [str.ProcessJobMSXInstruction]
movups xmmword [rbp + 0x12d0], xmm0
movups xmm1, xmmword [0x10047c4b0]
movups xmmword [rbp + 0x12e0], xmm1
movups xmm0, xmmword [0x10047c4c0]
movups xmmword [rbp + 0x12f0], xmm0
movzx eax, word [0x10047c4d0]
mov word [rbp + 0x1300], ax
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x28b0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x402
lea rcx, [rbp + 0x1680]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x806
lea rcx, [rbp + 0x20a0]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp + 0x1310], rax
mov qword [rbp + 0x1318], rax
mov qword [rbp + 0x1320], rax
mov qword [rbp + 0x1328], rax
mov qword [rbp + 0x1330], rax
mov qword [rbp + 0x1338], rax
mov qword [rbp + 0x1340], rax
mov qword [rbp + 0x1348], rax
mov dword [rbp + 0x1350], eax
mov word [rbp + 0x1354], ax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x1ca0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x1580]
call sub.VCRUNTIME140.dll_memset
xor r13d, r13d
mov dword [rbp - 0x7c], r13d
mov qword [rbp - 0x70], r13
xor edx, edx
mov r8d, 0x212
lea rcx, [rbp + 0x1360]
call sub.VCRUNTIME140.dll_memset
mov ebx, r13d
mov dword [rbp - 0x80], ebx
mov dword [rbp - 0x60], r13d
mov qword [rbp - 0x58], r13
lea r13, [rsi + 0xc]
mov rcx, r13
call fcn.1004277b0
test eax, eax
je 0x1004423b0
lea rdx, [rbp + 0x1310]
mov rcx, r13
call fcn.100428750
mov eax, dword [rsi + 4]
dec eax
mov edx, 1
cmp eax, 2
ja 0x1004423db
test r12, r12
je 0x1004423d4
mov dword [r12], edx
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov r12, qword [rbp - 0x40]
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, edx
lea rdx, str.BEGIN_TRANSACTION
mov rcx, qword [rbp - 0x78]
call fcn.100410640
test eax, eax
je 0x1004423d4
mov ebx, dword [rbp - 0x80]
test ebx, ebx
je 0x1004423e1
xor eax, eax
jmp 0x100442ff5
mov eax, dword [rsi + 4]
cmp eax, 3
je 0x10044234b
mov r9d, 0x400
mov r8, qword [rbp - 0x40]
mov edx, 0x16
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
jmp 0x100442ff5
mov r12, qword [rbp - 0x40]
jmp 0x1004423e6
mov edx, 1
mov ecx, dword [rsi + 4]
sub ecx, 1
je 0x100442d8d
sub ecx, 1
je 0x1004426f6
sub ecx, 1
je 0x1004424ce
sub ecx, 1
je 0x1004424be
cmp ecx, 1
je 0x10044244e
mov r9d, 0x200
lea r8, [rbp + 0x1ca0]
mov edx, 0x124
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, dword [rsi + 4]
lea r8, [rbp + 0x1ca0]
mov edx, 0x400
mov rcx, r12
call fcn.10040b460
jmp 0x100442fe3
lea r8, str.EXECUTE_msdb.dbo.sp_stop_job__job_id___s
lea r9, [rbp + 0x1310]
mov edx, 0x800
lea rcx, [rbp + 0x28b0]
call fcn.10040b460
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
lea rdx, [rbp + 0x28b0]
mov rcx, qword [rbp - 0x78]
call fcn.100410640
mov ebx, dword [rbp - 0x80]
test ebx, ebx
je 0x1004424c7
cmp ebx, 0x5606
je 0x1004424c7
xor eax, eax
jmp 0x100442fe6
lea r8, str.EXECUTE_msdb.dbo.sp_start_job__job_id___s
jmp 0x100442455
mov eax, edi
jmp 0x100442fe6
xor r15d, r15d
cmp word [rbp + 0x1310], r15w
je 0x100442629
mov ebx, r15d
cmp dword [rdi + 0xc], ebx
jle 0x10044253d
nop word [rax + rax]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SQLSVC.dll_SHRecMemLock]
test rax, rax
je 0x100442529
lea r8, [rax + 0x420]
lea rax, [rbp + 0x1310]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x100442525
add rax, 2
test ecx, ecx
jne 0x100442511
test edx, edx
je 0x100442532
inc ebx
cmp ebx, dword [rdi + 0xc]
jge 0x10044253d
jmp 0x1004424f0
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SQLSVC.dll_SHRecMemDelete]
mov rbx, qword [rbp - 0x78]
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x38], r15w
mov qword [rbp - 0x70], reloc.ODBC32.dll_SQLFreeStmt
mov r14d, 1
mov word [rbp - 0x38], r14w
mov esi, 0xfffffff5
mov r9d, esi
mov r8d, r14d
mov edx, r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], reloc.ODBC32.dll_SQLFreeStmt
mov qword [rsp + 0x38], r13
mov word [rsp + 0x30], r15w
mov qword [rsp + 0x28], reloc.ODBC32.dll_SQLFreeStmt
mov word [rsp + 0x20], si
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ODBC32.dll_SQLBindParameter]
mov qword [rbp - 0x70], reloc.ODBC32.dll_SQLFreeStmt
mov edi, 2
mov word [rbp - 0x38], di
mov r9d, esi
mov r8d, r14d
mov edx, edi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], reloc.ODBC32.dll_SQLFreeStmt
mov qword [rsp + 0x38], r13
mov word [rsp + 0x30], r15w
mov qword [rsp + 0x28], reloc.ODBC32.dll_SQLFreeStmt
mov word [rsp + 0x20], si
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ODBC32.dll_SQLBindParameter]
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea rdx, str.IF__EXISTS__SELECT__FROM_msdb.dbo.sysjobs_WHERE__job_id_______EXECUTE_msdb.dbo.sp_delete_job__job_id___
mov rcx, rbx
call fcn.100410640
nop
jmp 0x1004426d2
mov rbx, qword [rbp - 0x78]
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x68], r15w
add r14, 0x28
mov rdi, 0xffffffffffffffff
lea rdi, [rdi + 1]
cmp word [r14 + rdi*2], 0
jne 0x100442641
lea eax, [rdi + rdi]
mov word [rbp - 0x68], dx
movsxd rcx, eax
mov r10d, 0xfffffff7
lea r9d, [r10 + 1]
mov r8d, edx
lea rax, [0x100499038]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r14
mov word [rsp + 0x30], r15w
mov qword [rsp + 0x28], 0x80
mov word [rsp + 0x20], r10w
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ODBC32.dll_SQLBindParameter]
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, str.EXECUTE_msdb.dbo.sp_delete_all_msx_jobs__msx_server___
mov rcx, rbx
call fcn.100410640
nop
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1004426e6
mov edx, 3
call qword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, r15d
mov ebx, dword [rbp - 0x80]
test ebx, ebx
sete al
jmp 0x100442fe6
xor edx, edx
mov r8d, 0x12e8
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [r13]
movaps xmmword [rbp - 0x70], xmm0
xor r13d, r13d
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x1680]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.100413b50
test eax, eax
je 0x100442d4c
lea r15, [rbp - 0x10]
lea rdi, [r13 - 1]
cmp word [rbp - 0x10], r13w
je 0x100442904
mov esi, r13d
movzx eax, word [0x100472a8c]
cmp ax, word [0x100472a84]
jne 0x100442771
movzx eax, word [0x100472a8e]
cmp ax, word [0x100472a86]
je 0x1004428df
lea rdx, [0x100472a8c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1004428df
mov ecx, 0x214
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1004428df
xor edx, edx
mov r8d, 0x212
lea rcx, [rbp + 0x1360]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x212
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x100472a8c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100442891
lea rcx, [rbp - 0x10]
sub rax, rcx
lea r8, [rbp - 0x10]
sar rax, 1
movsxd r12, eax
lea rbx, [r12 + r12]
mov r9, rbx
mov edx, 0x214
mov rcx, rsi
call fcn.10044c240
mov word [rsi + rbx], r13w
mov rcx, rdi
nop dword [rax]
inc rcx
cmp word [rsi + rcx*2], r13w
jne 0x100442810
lea rdx, [rbp + 0x1360]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r13w
jne 0x100442824
add rax, 2
add rax, rcx
cmp rax, 0x109
jae 0x100442891
mov r8, rsi
mov edx, 0x212
lea rcx, [rbp + 0x1360]
call fcn.10042b640
lea r8, [0x100472a84]
mov edx, 0x212
lea rcx, [rbp + 0x1360]
call fcn.10042b640
lea r15, [r15 + r12*2]
add r15, 2
lea rdx, [0x100472a8c]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100442891
sub rax, r15
mov r8, r15
jmp 0x1004427eb
cmp word [r15], r13w
je 0x1004428f4
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], r13w
jne 0x1004428a0
lea rdx, [rbp + 0x1360]
mov rcx, rdi
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x1004428b4
add rax, rcx
cmp rax, 0x109
jae 0x1004428f4
mov r8, r15
mov edx, 0x109
lea rcx, [rbp + 0x1360]
call fcn.10040d600
jmp 0x1004428f4
lea r8, [rbp - 0x10]
mov edx, 0x212
lea rcx, [rbp + 0x1360]
call fcn.10040b320
test rsi, rsi
je 0x100442919
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x100442919
lea r8, [rbp - 0x10]
mov edx, 0x212
lea rcx, [rbp + 0x1360]
call fcn.10040b320
lea r15, [rbp + 0x1680]
cmp word [rbp + 0x1680], r13w
je 0x100442af4
mov rsi, r13
movzx eax, word [0x100472a8c]
cmp ax, word [0x100472a84]
jne 0x100442955
movzx eax, word [0x100472a8e]
cmp ax, word [0x100472a86]
je 0x100442acc
lea rdx, [0x100472a8c]
lea rcx, [rbp + 0x1680]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100442acc
mov ecx, 0x808
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x100442acc
xor edx, edx
mov r8d, 0x806
lea rcx, [rbp + 0x20a0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x806
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x100472a8c]
lea rcx, [rbp + 0x1680]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100442a81
lea rcx, [rbp + 0x1680]
sub rax, rcx
lea r8, [rbp + 0x1680]
sar rax, 1
movsxd r12, eax
lea rbx, [r12 + r12]
mov r9, rbx
mov edx, 0x808
mov rcx, rsi
call fcn.10044c240
mov word [rsi + rbx], r13w
mov rcx, rdi
nop dword [rax]
inc rcx
cmp word [rsi + rcx*2], r13w
jne 0x100442a00
lea rdx, [rbp + 0x20a0]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r13w
jne 0x100442a14
add rax, 2
add rax, rcx
cmp rax, 0x403
jae 0x100442a81
mov r8, rsi
mov edx, 0x806
lea rcx, [rbp + 0x20a0]
call fcn.10042b640
lea r8, [0x100472a84]
mov edx, 0x806
lea rcx, [rbp + 0x20a0]
call fcn.10042b640
lea r15, [r15 + r12*2]
add r15, 2
lea rdx, [0x100472a8c]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100442a81
sub rax, r15
mov r8, r15
jmp 0x1004429db
cmp word [r15], r13w
je 0x100442ae4
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], r13w
jne 0x100442a90
lea rcx, [rbp + 0x20a0]
inc rdi
cmp word [rcx + rdi*2], r13w
jne 0x100442aa1
add rax, rdi
cmp rax, 0x403
jae 0x100442ae4
mov r8, r15
mov edx, 0x403
lea rcx, [rbp + 0x20a0]
call fcn.10040d600
jmp 0x100442ae4
lea r8, [rbp + 0x1680]
mov edx, 0x806
lea rcx, [rbp + 0x20a0]
call fcn.10040b320
test rsi, rsi
je 0x100442b0c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x100442b0c
lea r8, [rbp + 0x1680]
mov edx, 0x806
lea rcx, [rbp + 0x20a0]
call fcn.10040b320
lea r9, [rbp + 0x1310]
lea r8, str.SELECT_CONVERT_NVARCHAR__date_modified__112______CONVERT_NVARCHAR__date_modified__114___version_number_FROM_msdb.dbo.sysjobs_WHERE__job_id___s_
mov edx, 0x800
lea rcx, [rbp + 0x28b0]
call fcn.10040b460
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov r12, qword [rbp - 0x40]
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rbp + 0x28b0]
mov rcx, r14
call fcn.100410640
test eax, eax
je 0x100442d4c
cmp dword [rbp - 0x80], r13d
jne 0x100442d4c
mov edi, 2
lea ebx, [rdi - 1]
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1580]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
mov r8d, 0xfffffff8
mov edx, ebx
mov rcx, r14
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8d, [r9 - 0x14]
mov edx, edi
mov rcx, r14
call qword [sym.imp.SQLSVC.dll_QSQLBind]
mov rcx, r14
call qword [sym.imp.SQLSVC.dll_QSQLNextRow]
cmp eax, 0xffffffff
je 0x100442bd3
mov rcx, r14
call qword [sym.imp.SQLSVC.dll_QSQLResults]
cmp eax, ebx
je 0x100442b80
mov rcx, r14
call qword [sym.imp.SQLSVC.dll_QSQLPurgeResults]
lea rcx, str.MSXOperator
mov r11d, dword [rbp + 0x31c]
cmp dword [rbp + 0x328], r13d
je 0x100442c16
test r11d, r11d
mov r10, rcx
jne 0x100442c1d
lea r10, [0x100472884]
mov r9d, dword [rbp + 0x318]
cmp dword [rbp + 0x324], r13d
je 0x100442c35
test r9d, r9d
mov r8, rcx
jne 0x100442c3c
lea r8, [0x100472884]
mov edx, dword [rbp + 0x314]
cmp dword [rbp + 0x320], r13d
je 0x100442c4f
test edx, edx
jne 0x100442c56
lea rcx, [0x100472884]
lea rax, [rbp + 0x1270]
mov qword [rsp + 0x90], rax
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x88], eax
lea rax, [rbp + 0x1580]
mov qword [rsp + 0x80], rax
mov eax, dword [rbp + 0x32c]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x48], edx
mov eax, dword [rbp + 0x310]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x204]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x20a0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x200]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1360]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1270]
lea r8, str.EXECUTE_msdb.dbo.sp_update_job__job_id___s___new_name__N_s___enabled___ld___description__N_s___start_step_id___ld___notify_level_eventlog___ld___notify_level_email___ld___notify_level_netsend___ld___notify_level_page___ld___notify_email_operator_name__N_s___notify_netsend_operator_name__N_s___notify_page_operator_name__N_s___delete_level___ld_UPDATE_msdb.dbo.sysjobs_SET_date_modified__N_s__version_number___ld_WHERE__job_id___s_
mov edx, 0x800
lea rcx, [rbp + 0x28b0]
call fcn.10040b460
test eax, eax
js 0x100442d4c
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea rdx, [rbp + 0x28b0]
mov rcx, qword [rbp - 0x78]
call fcn.100410640
mov ebx, dword [rbp - 0x80]
test eax, eax
je 0x100442fe3
mov eax, r13d
test ebx, ebx
sete al
jmp 0x100442fe6
mov r9d, 0x200
lea r8, [rbp + 0x1ca0]
mov edx, 0x13e
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, str.SQLServerAgent
lea r8, [rbp + 0x1ca0]
mov edx, 0x400
mov rcx, r12
call fcn.10040b460
xor eax, eax
jmp 0x100442ff5
movups xmm0, xmmword [r13]
movaps xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x1310]
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1004437f0
mov rsi, qword [rbp - 0x70]
test eax, eax
je 0x100442fd3
lea rax, [rbp + 0x12d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rdx, rsi
mov rcx, qword [rbp - 0x78]
call fcn.100410640
mov ebx, dword [rbp - 0x80]
test eax, eax
je 0x100442e15
xor eax, eax
test ebx, ebx
sete al
mov dword [rbp - 0x7c], eax
test ebx, ebx
jne 0x100442e15
inc dword [r15]
jmp 0x100442fd6
lea rax, [rbp - 0x40]
mov qword [rbp - 0x70], rax
xor r15d, r15d
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
lea r8d, [r15 + 0x13]
lea rdx, str.ShowFailedMSXJobSQL
lea rcx, [rbp - 0x40]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.10040a150
test al, al
je 0x100442fd3
mov dword [rbp - 0x80], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a90]
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x100442fe3
lea rax, [rbp + 0x12d0]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x12e0], r15
mov qword [rbp + 0x12e8], 7
mov word [rbp + 0x12d0], r15w
lea r8d, [r15 + 0x10]
lea rdx, str.WorkingDirectory
lea rcx, [rbp + 0x12d0]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea r8, [rbp + 0x12d0]
lea rdx, [rbp - 0x40]
call fcn.10040a3c0
nop
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
lea rax, [rbp + 0x1310]
mov qword [rsp + 0x20], rax
lea r8, [0x100478470]
mov edx, 0x104
lea rcx, [rbp + 0x1a90]
call fcn.10040b460
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x100080
mov edi, 2
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0x1a90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x100442f7e
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
lea rdi, [rdi + 1]
cmp word [rsi + rdi*2], 0
jne 0x100442f50
lea r8d, [rdi + rdi]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x80]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x100442fc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x100442fbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x100442fbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.100469388
movdqa xmm0, xmmword [0x100482320]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r15w
mov eax, dword [rbp - 0x7c]
test rsi, rsi
je 0x100442fe6
mov rcx, rsi
call fcn.10043b3b0
mov eax, dword [rbp - 0x7c]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x100442ff5
test ebx, ebx
je 0x100442ff5
mov dword [rcx], ebx
mov rcx, qword [rbp + 0x38b0]
xor rcx, rsp
call fcn.100469360
add rsp, 0x39e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret