Function at 0x18002e630
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r9
mov rbx, r8
mov r15, rdx
xor r12d, r12d
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r12w
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x18002e682
mov rdx, rcx
lea rcx, [rbp - 0x71]
call fcn.1800111b0
nop
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x11]
call fcn.18002c920
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18002e6e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e6e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002eb02
call fcn.180035588
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r12w
mov r8, r13
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x18002e700
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.1800111b0
nop
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x31]
call fcn.18002c920
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18002e766
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e761
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002eafc
call fcn.180035588
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r12w
mov r8, r13
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x18002e780
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1800111b0
nop
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.18002c920
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18002e7e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e7e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002eaf6
call fcn.180035588
lea r11, [rbp - 0x11]
cmp qword [rbp + 7], 8
setae dl
cmovae r11, qword [rbp - 0x11]
lea r10, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r10, qword [rbp - 0x31]
lea r9, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae r9, qword [rbp - 0x51]
lea r8, [rbp - 0x11]
test dl, dl
cmovne r8, qword [rbp - 0x11]
mov rax, r13
inc rax
cmp word [r8 + rax*2], 0
jne 0x18002e821
mov rcx, r13
nop
inc rcx
cmp word [r9 + rcx*2], 0
jne 0x18002e830
add rax, rcx
mov rcx, r13
inc rcx
cmp word [r10 + rcx*2], 0
jne 0x18002e841
add rax, rcx
mov rcx, r13
lea rcx, [rcx + 1]
cmp word [r11 + rcx*2], 0
jne 0x18002e852
lea rdi, [rax + rcx]
lea rsi, [rdi + 0x202]
mov eax, 2
mul rsi
cmovo rax, r13
mov rcx, rax
call fcn.1800355f8
mov r14, rax
lea rbx, [rbp - 0x11]
cmp qword [rbp + 7], 8
setae r11b
cmovae rbx, qword [rbp - 0x11]
lea r9, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae r9, qword [rbp - 0x51]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x11]
test r11b, r11b
cmovne rax, qword [rbp - 0x11]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str._html__r_n_head__r_n_____meta_http_equiv_Content_Type__content_text_html__charsetutf_8_____r_n_____title___title__r_n__head__r_n_body_onload_win_run_____r_n_script_type_text_javascript___r_n____function_win_run____r_n________var_cmd__new_ActiveXObject__WScript.Shell____r_n________var_strCommandLine1____s__install_MyPyService___s_____s____r_n________var_strCommandLine2____s__start_MyPyService__r_n________cmd.run_strCommandLine1_0_true___r_n________cmd.run_strCommandLine2_0_false___r_n_____r_n__script__r_n__body__r_n__html__r_n
lea r8, [rdi + 0x201]
mov rdx, rsi
mov rcx, r14
call fcn.180006c40
test eax, eax
js 0x18002e9c8
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18002e9c8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, r13d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
test eax, eax
jne 0x18002e969
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.180035588
mov ebx, r12d
jmp 0x18002e9f0
mov rcx, rsi
call fcn.1800355f8
mov rdi, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8d, [rsi - 1]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x79]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
test eax, eax
jne 0x18002e9d5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.180035588
mov r14, rdi
mov rcx, r14
call fcn.180035588
mov ebx, r12d
jmp 0x18002e9f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.180035588
mov rcx, rdi
call fcn.180035588
mov ebx, 1
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x18002ea30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ea2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002eafc
call fcn.180035588
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r12w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x18002ea81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ea7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002eb02
call fcn.180035588
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r12w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18002eace
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002eac9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002eaf0
call fcn.180035588
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.180034f80
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18003ed10
nop
call fcn.18003ed10
nop
call fcn.18003ed10
nop
call fcn.18003ed10
int3