Function at 0x18000c198
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rbp, rdx
mov edx, dword [rcx + 0x101ac]
mov ebx, r8d
add edx, r8d
mov rsi, rcx
mov edi, 1
cmp dword [rcx + 0x101a8], edx
jae 0x18000c1fe
mov dword [rcx + 0x101a8], edx
lea rcx, str._PIVOT__Allocating_space:__u_bytes
call fcn.18000b5ec
mov edx, dword [rsi + 0x101a8]
mov rcx, qword [rsi + 0x101a0]
call fcn.180019d2c
mov qword [rsi + 0x101a0], rax
mov ecx, dword [rsi + 0x101ac]
mov r8, rbx
mov rdx, rbp
add rcx, qword [rsi + 0x101a0]
call fcn.180019130
add dword [rsi + 0x101ac], ebx
cmp dword [rsi + 0x101b0], 0
jne 0x18000c65b
lea rcx, str._PIVOT__Size_not_yet_calculated
call fcn.18000b5ec
cmp dword [rsi + 0x101ac], 0x20
jb 0x18000c65b
lea rcx, str._PIVOT__header_bytes_received__calculating_buffer_offset
call fcn.18000b5ec
mov r8, qword [rsi + 0x101a0]
movzx eax, byte [r8 + 0x1f]
movzx ecx, byte [r8 + 0x1e]
movzx ebx, byte [r8 + 0x1b]
mov dword [rsp + 0x100], eax
movzx r10d, byte [r8 + 0x1d]
movzx r11d, byte [r8 + 0x1c]
movzx edi, byte [r8 + 0x1a]
movzx esi, byte [r8 + 0x19]
movzx ebp, byte [r8 + 0x18]
movzx r14d, byte [r8 + 0x17]
movzx r15d, byte [r8 + 0x16]
movzx r12d, byte [r8 + 0x15]
movzx r13d, byte [r8 + 0x14]
movzx r9d, byte [r8 + 2]
mov dword [rsp + 0xf8], ecx
mov dword [rsp + 0xf0], r10d
mov dword [rsp + 0xe8], r11d
mov dword [rsp + 0xe0], ebx
mov dword [rsp + 0xd8], edi
mov dword [rsp + 0xd0], esi
mov dword [rsp + 0xc8], ebp
mov dword [rsp + 0xc0], r14d
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0xb0], r12d
mov dword [rsp + 0xa8], r13d
mov qword [rsp + 0x110], r8
movzx r8d, byte [r8 + 1]
mov rbx, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x110]
lea rcx, str._PIVOT__Packet_header_before_XOR:__0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X_
movzx eax, byte [rbx + 0x13]
movzx edx, byte [rdx]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rbx + 0x12]
mov dword [rsp + 0x98], eax
movzx eax, byte [rbx + 0x11]
mov dword [rsp + 0x90], eax
movzx eax, byte [rbx + 0x10]
mov dword [rsp + 0x88], eax
movzx eax, byte [rbx + 0xf]
mov dword [rsp + 0x80], eax
movzx eax, byte [rbx + 0xe]
mov dword [rsp + 0x78], eax
movzx eax, byte [rbx + 0xd]
mov dword [rsp + 0x70], eax
movzx eax, byte [rbx + 0xc]
mov dword [rsp + 0x68], eax
movzx eax, byte [rbx + 0xb]
mov dword [rsp + 0x60], eax
movzx eax, byte [rbx + 0xa]
mov dword [rsp + 0x58], eax
movzx eax, byte [rbx + 9]
mov dword [rsp + 0x50], eax
movzx eax, byte [rbx + 8]
mov dword [rsp + 0x48], eax
movzx eax, byte [rbx + 7]
mov dword [rsp + 0x40], eax
movzx eax, byte [rbx + 6]
mov dword [rsp + 0x38], eax
movzx eax, byte [rbx + 5]
mov dword [rsp + 0x30], eax
movzx eax, byte [rbx + 4]
mov dword [rsp + 0x28], eax
movzx eax, byte [rbx + 3]
mov dword [rsp + 0x20], eax
call fcn.18000b5ec
lea rdx, [rbx + 0x18]
mov r8d, 4
mov rcx, rbx
call fcn.180007568
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [rcx + 0x101a0]
movzx ecx, byte [rax + 0x1f]
movzx r10d, byte [rax + 0x1e]
movzx r11d, byte [rax + 0x1d]
movzx ebx, byte [rax + 0x1c]
movzx edi, byte [rax + 0x1b]
movzx esi, byte [rax + 0x1a]
movzx edx, byte [rax + 0x14]
movzx ebp, byte [rax + 0x19]
movzx r14d, byte [rax + 0x18]
movzx r15d, byte [rax + 0x17]
movzx r12d, byte [rax + 0x16]
movzx r13d, byte [rax + 0x15]
movzx r9d, byte [rax + 2]
movzx r8d, byte [rax + 1]
mov dword [rsp + 0x100], ecx
mov dword [rsp + 0x1c0], edx
movzx edx, byte [rax + 0x13]
mov dword [rsp + 0xf8], r10d
mov dword [rsp + 0x1c8], edx
movzx edx, byte [rax + 0x12]
mov dword [rsp + 0xf0], r11d
mov dword [rsp + 0x140], edx
movzx edx, byte [rax + 0x11]
mov dword [rsp + 0xe8], ebx
mov dword [rsp + 0x154], edx
movzx edx, byte [rax + 0x10]
mov dword [rsp + 0xe0], edi
mov dword [rsp + 0xd8], esi
mov dword [rsp + 0x15c], edx
movzx edx, byte [rax + 0xf]
mov dword [rsp + 0xd0], ebp
mov dword [rsp + 0x164], edx
movzx edx, byte [rax + 0xe]
mov dword [rsp + 0xc8], r14d
mov dword [rsp + 0x130], edx
movzx edx, byte [rax + 0xd]
mov dword [rsp + 0xc0], r15d
mov dword [rsp + 0x150], edx
movzx edx, byte [rax + 0xc]
mov dword [rsp + 0xb8], r12d
mov dword [rsp + 0x138], edx
movzx edx, byte [rax + 0xb]
mov dword [rsp + 0xb0], r13d
mov dword [rsp + 0x160], edx
movzx edx, byte [rax + 0xa]
mov dword [rsp + 0x128], edx
movzx edx, byte [rax + 9]
mov dword [rsp + 0x158], edx
movzx edx, byte [rax + 8]
mov dword [rsp + 0x12c], edx
movzx edx, byte [rax + 7]
mov dword [rsp + 0x134], edx
movzx edx, byte [rax + 6]
mov dword [rsp + 0x13c], edx
movzx edx, byte [rax + 5]
mov dword [rsp + 0x148], edx
movzx edx, byte [rax + 4]
mov dword [rsp + 0x118], edx
movzx edx, byte [rax + 3]
mov dword [rsp + 0x120], edx
movzx edx, byte [rax]
mov eax, dword [rsp + 0x1c0]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x134]
lea rcx, str._PIVOT__Packet_header_after_XOR:__0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X___0x_02X_0x_02X_0x_02X_0x_02X_
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x20], eax
call fcn.18000b5ec
mov rdi, qword [rsp + 0x110]
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rsi, qword [rsp + 0x1b0]
lea rdx, [rdi + 0x18]
add eax, 0x18
mov r8d, 4
mov rcx, rdi
mov dword [rsi + 0x101b0], eax
call fcn.180007568
mov edx, dword [rsi + 0x101b0]
lea rcx, str._PIVOT__Required_size_is__u_bytes
call fcn.18000b5ec
mov edi, 1
mov eax, dword [rsi + 0x101b0]
test eax, eax
je 0x18000caf6
cmp eax, dword [rsi + 0x101ac]
ja 0x18000caf6
cmp dword [rsi + 0x160], 0
jne 0x18000ca74
lea rcx, str._PIPE__Session_not_yet_established__checking_for_response_packet
call fcn.18000b5ec
mov rbx, qword [rsi + 0x101a0]
mov r8d, dword [rsi + 0x101b0]
lea r14, [rbx + 4]
sub r8d, 4
mov rcx, rbx
mov rdx, r14
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x118], r14
call fcn.180007568
cmp dword [rbx + 0x14], 0
jne 0x18000ca5a
lea rcx, str._PIPE__Incoming_packet_is_not_encrypted_
call fcn.18000b5ec
mov edx, 0x48
mov rcx, rdi
call fcn.1800199bc
mov ecx, dword [rbx + 0x18]
mov dword [rax + 0x18], ecx
mov edx, dword [rbx + 0x1c]
mov rbp, rax
mov dword [rax + 0x1c], edx
mov qword [rsp + 0x120], rax
call qword [sym.imp.WS2_32.dll_ntohl]
sub eax, 8
mov edx, 0x10002
mov dword [rbp + 0x28], eax
mov rcx, qword [rsi + 0x101a0]
add rcx, 0x20
mov qword [rbp + 0x20], rcx
mov rcx, rbp
call fcn.180005648
test rax, rax
je 0x18000ca52
lea rcx, [rsi + 0x164]
mov r8d, 0x20
mov rdx, rax
call fcn.18001aa60
test eax, eax
jne 0x18000ca52
lea rcx, str._PIPE__Request_ID_found_and_matches_expected_value
call fcn.18000b5ec
and dword [rsp + 0x1c0], 0
lea r8, [rsp + 0x1c0]
mov edx, 0x401ce
mov rcx, rbp
call fcn.180005708
mov r15d, reloc.WS2_32.dll_recv
mov r13, rax
mov qword [rsp + 0x110], rax
test rax, rax
je 0x18000cb13
cmp dword [rsp + 0x1c0], r15d
jne 0x18000cb13
lea rax, [rsi + 0x150]
mov r8d, r15d
mov rdx, r13
mov rcx, rax
mov qword [rsp + 0x1c8], rax
call fcn.18001aa60
test eax, eax
je 0x18000cb13
movzx eax, byte [r13 + 0xf]
movzx ecx, byte [r13 + 0xe]
mov rdx, qword [rsp + 0x110]
movzx r10d, byte [r13 + 0xd]
movzx r11d, byte [r13 + 0xc]
movzx ebx, byte [r13 + 0xb]
movzx edi, byte [r13 + 0xa]
movzx esi, byte [r13 + 9]
movzx ebp, byte [r13 + 8]
movzx r14d, byte [r13 + 7]
movzx r15d, byte [r13 + 6]
movzx r12d, byte [r13 + 5]
movzx r13d, byte [r13 + 4]
movzx r9d, byte [rdx + 2]
movzx r8d, byte [rdx + 1]
movzx edx, byte [rdx]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x78], ecx
mov rcx, qword [rsp + 0x110]
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
movzx eax, byte [rcx + 3]
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
lea rcx, str._PIPE__Returned_session_guid:__02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call fcn.18000b5ec
mov r8, qword [rsp + 0x1c8]
mov rdx, qword [rsp + 0x1c8]
movzx eax, byte [r8 + 0xf]
movzx ecx, byte [r8 + 0xe]
movzx edi, byte [r8 + 0xa]
movzx r10d, byte [r8 + 0xd]
movzx r11d, byte [r8 + 0xc]
movzx ebx, byte [r8 + 0xb]
movzx esi, byte [r8 + 9]
movzx ebp, byte [r8 + 8]
movzx r14d, byte [r8 + 7]
movzx r15d, byte [r8 + 6]
movzx r12d, byte [r8 + 5]
movzx r13d, byte [r8 + 4]
movzx r9d, byte [r8 + 2]
movzx edx, byte [rdx]
movzx r8d, byte [r8 + 1]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edi
mov rdi, qword [rsp + 0x1c8]
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], ebp
movzx eax, byte [rdi + 3]
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
lea rcx, str._PIPE_____Pivot_session_guid:__02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call fcn.18000b5ec
mov r15d, reloc.WS2_32.dll_recv
lea rcx, str._PIPE__Session_pivot_session_guid_size:__u
mov edx, r15d
call fcn.18000b5ec
lea rcx, str._PIPE__Session_guid_returned__looks_like_the_session_is_a_reconnect
call fcn.18000b5ec
mov rdx, qword [rsp + 0x110]
mov r8d, r15d
mov rcx, rdi
call fcn.180019130
mov rsi, qword [rsp + 0x1b0]
mov rdx, rdi
mov rcx, qword [rsi + 0x188]
mov rcx, qword [rcx + 0x90]
call fcn.1800095b4
mov rbx, rax
test rax, rax
je 0x18000c988
lea rcx, str._PIPE__We_seem_to_have_acquired_a_new_instance_of_a_pivot_we_didnt_know_was_dead._Killing_
call fcn.18000b5ec
mov rcx, qword [rbx + 0x10]
call fcn.18000bfe0
mov rcx, rbx
call fcn.180018f58
mov r14, qword [rsp + 0x118]
mov rbp, qword [rsp + 0x120]
mov ecx, 1
mov dword [rsi + 0x160], ecx
lea edx, [rcx + 0x17]
call fcn.1800199bc
lea rcx, [fcn.18000bec8]
mov rdx, rdi
mov qword [rax + 0x10], rsi
mov qword [rax], rcx
mov rcx, qword [rsi + 0x188]
mov rcx, qword [rcx + 0x90]
mov r8, rax
call fcn.180009470
lea rcx, str._PIVOTTREE__Pivot_sessions__after_new_one_added_
call fcn.18000b5ec
mov rcx, qword [rsi + 0x188]
mov rcx, qword [rcx + 0x90]
call fcn.18000978c
lea rcx, str._PIPE__Informing_MSF_of_the_new_named_pipe_pivot
call fcn.18000b5ec
mov edx, 0x22
xor ecx, ecx
call fcn.180004e6c
mov r9d, r15d
mov r8, rdi
mov rcx, rax
mov edx, 0x401ce
mov rbx, rax
call fcn.18000540c
lea r8, [rsi + 0x140]
mov r9d, r15d
mov edx, 0x4028a
mov rcx, rbx
call fcn.18000540c
mov rcx, qword [rsi + 0x188]
xor r8d, r8d
mov rdx, rbx
call fcn.1800058c4
mov rbx, qword [rsp + 0x148]
xor edi, edi
mov rcx, rbp
call fcn.180018f58
mov r8d, dword [rsi + 0x101b0]
mov rdx, r14
mov rcx, rbx
sub r8d, 4
call fcn.180007568
test edi, edi
je 0x18000caa9
mov r8d, dword [rsi + 0x101ac]
mov edx, dword [rsi + 0x101b0]
lea rcx, str._PIVOT__Entire_packet_is_ready__size_is__u__offset_is__u
call fcn.18000b5ec
mov rcx, qword [rsi + 0x188]
mov r8d, dword [rsi + 0x101b0]
mov rax, qword [rcx + 8]
mov rdx, qword [rsi + 0x101a0]
call qword [rax + 0x48]
mov ebx, dword [rsi + 0x101ac]
sub ebx, dword [rsi + 0x101b0]
je 0x18000cadd
lea rcx, str._PIVOT__Extra__u_bytes_found__shuffling_data
mov edx, ebx
call fcn.18000b5ec
mov rcx, qword [rsi + 0x101a0]
mov edx, dword [rsi + 0x101b0]
add rdx, rcx
mov r8d, ebx
call fcn.180019130
lea rcx, str._PIVOT__Packet_buffer_reset
call fcn.18000b5ec
and dword [rsi + 0x101b0], 0
mov dword [rsi + 0x101ac], ebx
xor eax, eax
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str._PIPE__Session_guid_not_found__looks_like_the_session_is_new
call fcn.18000b5ec
lea rdi, [rsi + 0x150]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, dword [rdi]
call qword [sym.imp.WS2_32.dll_htonl]
movzx ecx, word [rsi + 0x154]
mov dword [rdi], eax
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rsi + 0x156]
mov word [rsi + 0x154], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsi + 0x156], ax
jmp 0x18000c998