Function at 0x140017230
Capabilities:
Delete file
Terminate process

Disassembly:
push rdi
sub rsp, 0x540
mov rax, qword [0x1400b30c0]
xor rax, rsp
mov qword [rsp + 0x530], rax
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_151]
mov ecx, 1
call fcn.140017b30
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x51]
call fcn.140015c50
mov rcx, rax
call fcn.14001ad30
mov qword [rsp + 0x80], rax
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe8]
call fcn.140011280
nop
lea rcx, [rsp + 0xe8]
call fcn.14001b210
mov byte [rsp + 0x52], al
lea rcx, [rsp + 0xe8]
call fcn.140014ed0
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x1400176b5
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x53]
call fcn.140015f30
mov rcx, rax
call fcn.1400152e0
mov edx, 3
mov rcx, rax
call fcn.140016b00
mov edx, 0x118
lea rcx, [rsp + 0x3f0]
call fcn.14000cf20
mov edx, 1
lea rcx, [rsp + 0x3f0]
call fcn.1400137b0
nop
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x54]
call fcn.140016080
mov rcx, rax
call fcn.1400153c0
mov r9d, 0x40
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0x3f0]
call fcn.14001ba70
lea rdx, [0x1400b3b70]
lea rcx, [rsp + 0x3f0]
call fcn.140013540
lea rdx, [0x1400b3b70]
lea rcx, [rsp + 0x3f0]
call fcn.140011440
lea rdx, [0x1400b3b70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011780
lea rax, [rsp + 0x55]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x55]
call fcn.1400161d0
mov rcx, rax
call fcn.140015400
mov edx, 3
mov rcx, rax
call fcn.140016b00
lea rdx, [0x1400b3b70]
lea rcx, [0x1400b3b50]
call fcn.140014fe0
lea rcx, [rsp + 0x3f0]
call fcn.140019c80
mov rax, qword [rsp + 0x3f0]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x3f0]
mov qword [rsp + 0x88], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
lea rdx, [rsp + 0x510]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011330
movsx eax, byte [rsp + 0x510]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsp + 0x510], al
movsx eax, byte [rsp + 0x510]
cmp eax, 0x79
jne 0x1400174cd
lea rcx, [0x1400b3bd0]
call fcn.14002a260
movzx eax, al
test eax, eax
je 0x1400174c8
lea rax, [rsp + 0x56]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x56]
call fcn.140016350
mov rcx, rax
call fcn.140015320
mov edx, listen
mov rcx, rax
call fcn.140016b00
call fcn.140017ce0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x140017561
movsx eax, byte [rsp + 0x510]
cmp eax, 0x6e
jne 0x14001751a
call fcn.14001b790
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x50]
call fcn.140016400
mov rcx, rax
call fcn.1400153c0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
call fcn.140017230
jmp 0x140017561
call fcn.14001b790
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x58]
call fcn.140016430
mov rcx, rax
call fcn.140015380
mov edx, listen
mov rcx, rax
call fcn.140016b00
call fcn.140017ce0
call fcn.140017230
lea rax, [rsp + 0x190]
mov qword [rsp + 0x90], rax
lea rcx, [0x1400b3b70]
call fcn.14000d040
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.140005c10
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [0x1400b3bd0]
call fcn.140031d50
call fcn.14001b790
movzx eax, byte [0x1400b3de0]
test eax, eax
jne 0x1400176a3
lea rax, [rsp + 0x59]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x59]
call fcn.140016490
mov rcx, rax
call fcn.1400151e0
mov edx, listen
mov rcx, rax
call fcn.140016b00
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x5a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x5a]
call fcn.1400164e0
mov rcx, rax
call fcn.140015460
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.1400117d0
lea rdx, [0x1400b3de8]
mov rcx, rax
call fcn.140011780
lea rcx, [0x1400b3de8]
call fcn.140019af0
lea rax, [rsp + 0x5b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x5b]
call fcn.140015630
mov rcx, rax
call fcn.1400153c0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
call fcn.140017ce0
call fcn.140017230
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400167b0
jmp 0x140017845
lea rax, [rsp + 0x5c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x5c]
call fcn.140015690
mov rcx, rax
call fcn.140015300
mov edx, 7
mov rcx, rax
call fcn.140016b00
lea rdx, [0x1400b3b50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011440
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xb0], rax
lea rdx, [0x1400b3b50]
mov rcx, qword [rsp + 0xb0]
call fcn.140013b20
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x1400b3bd0]
call fcn.140031d50
call fcn.14001b790
movzx eax, byte [0x1400b3de0]
test eax, eax
jne 0x140017845
lea rcx, [0x1400b3b50]
call fcn.140019af0
lea rax, [rsp + 0x5d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x65]
lea rcx, [rsp + 0x5d]
call fcn.1400156e0
mov rcx, rax
call fcn.1400151e0
mov edx, listen
mov rcx, rax
call fcn.140016b00
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x57]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x57]
call fcn.140015730
mov rcx, rax
call fcn.140015460
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400117d0
lea rdx, [0x1400b3de8]
mov rcx, rax
call fcn.140011780
lea rcx, [0x1400b3de8]
call fcn.140019af0
lea rax, [rsp + 0x5e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x5e]
call fcn.140015790
mov rcx, rax
call fcn.1400153c0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
call fcn.140017ce0
call fcn.140017230
lea rax, [rsp + 0x5f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x5f]
call fcn.1400157f0
mov rcx, rax
call fcn.14001ae70
mov rdx, rax
lea rcx, [0x1400b3de8]
call fcn.140011be0
movzx eax, al
test eax, eax
je 0x140017b0e
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xd0], rax
lea rdx, [0x1400b3b50]
mov rcx, qword [rsp + 0xd0]
call fcn.140013b20
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [0x1400b3bd0]
call fcn.140033300
call fcn.140018060
lea rcx, [0x1400b3de8]
call fcn.140019af0
lea rcx, [0x1400b3e48]
call fcn.140019c10
lea rcx, [0x1400b3b98]
call fcn.140019bd0
lea rcx, [0x1400b51f0]
call fcn.140019b90
lea rcx, [0x1400b3b2c]
call fcn.140019b10
lea rcx, [0x1400b3ba8]
call fcn.140019b50
lea rcx, [0x1400b3de8]
call fcn.140019af0
mov edx, Ordinal_27
lea rcx, [rsp + 0x518]
call fcn.14000cf20
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140015850
mov rcx, rax
call fcn.14001aa30
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140005c10
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x518]
lea rcx, [0x1400b3bd0]
call fcn.14002db50
nop
movzx eax, byte [0x1400b3de0]
test eax, eax
jne 0x1400179e9
lea rax, [rsp + 0x61]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x61]
call fcn.1400158b0
mov rcx, rax
call fcn.1400153e0
mov edx, listen
mov rcx, rax
call fcn.140016b00
call fcn.140017ce0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.14000a510
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140017a03
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140017a48
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x3b8]
lea rcx, [rsp + 0x62]
call fcn.140015910
mov rcx, rax
call fcn.140015400
mov edx, listen
mov rcx, rax
call fcn.140016b00
call fcn.140017ce0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rcx, [rsp + 0x518]
call fcn.14000cec0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140010410
test rax, rax
jne 0x140017ab0
mov rcx, qword [rsp + 0x68]
call fcn.14000ba70
nop
lea rcx, [rsp + 0x518]
call fcn.140014ba0
jmp 0x140017b14
mov rcx, qword [rsp + 0x68]
call fcn.14000ba70
lea rax, [rsp + 0x63]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x63]
call fcn.140015970
mov rcx, rax
call fcn.140015340
mov edx, 2
mov rcx, rax
call fcn.140016b00
call fcn.140017e30
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x518]
call fcn.140014ba0
nop
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_551]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140087a80
add rsp, 0x540
pop rdi
ret