Function at 0x140130460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x328
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x318], rax
mov qword [rsp + 0x300], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x8c], 0
lea r8, [rsp + 0x2d0]
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x330]
call fcn.1401209a0
test eax, eax
je 0x1401304f7
lea r9, str.iscsi_text_cmd_decap___failed_n
mov r8d, 0x2c4
lea rdx, [0x140225788]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
mov eax, 0xffffffff
jmp 0x140131152
cmp dword [rsp + 0x2d8], 0
je 0x14013054c
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x2d8]
mov dword [rsp + 0x28], eax
lea rax, str.Continue
mov qword [rsp + 0x20], rax
lea r9, [0x1402257b8]
mov r8d, 0x2c8
lea rdx, [0x1402257d8]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
mov eax, 0xffffffff
jmp 0x140131152
mov rax, qword [rsp + 0x338]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x2f0], eax
je 0x1401305b1
mov rax, qword [rsp + 0x338]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2f0]
mov dword [rsp + 0x28], eax
lea rax, [0x1402257f8]
mov qword [rsp + 0x20], rax
lea r9, [0x140225800]
mov r8d, 0x2c9
lea rdx, [0x140225820]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
mov eax, 0xffffffff
jmp 0x140131152
mov rax, qword [rsp + 0x338]
mov ecx, dword [rax + 0x20]
add ecx, 1
mov rax, qword [rsp + 0x338]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x338]
mov ecx, dword [rax + 0x24]
add ecx, 1
mov rax, qword [rsp + 0x338]
mov dword [rax + 0x24], ecx
mov edx, 0x800
mov rcx, qword [rsp + 0x330]
call fcn.14011d180
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140130633
lea r9, [0x140225840]
mov r8d, 0x2d1
lea rdx, [0x140225860]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
mov eax, 0xffffffff
jmp 0x140131152
mov eax, dword [rsp + 0x2dc]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
je 0x140130e2e
mov edx, dword [rsp + 0x90]
add edx, 1
mov rcx, qword [rsp + 0x330]
call fcn.14011d180
mov qword [rsp + 0x300], rax
cmp qword [rsp + 0x300], 0
jne 0x1401306ea
lea r9, [0x140225880]
mov r8d, 0x2da
lea rdx, [0x1402258a0]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x1401306ba
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x1401306da
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x14013069a
mov eax, 0xffffffff
jmp 0x140131152
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
lea rax, str.reading__d_bytes_text_parameters_n
mov qword [rsp + 0x20], rax
mov r9d, 0x2de
lea r8, [0x1402258e8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rsp + 0x330]
call fcn.14011c000
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
xor r8d, r8d
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x330]
call fcn.140123650
cmp eax, dword [rsp + 0x90]
je 0x1401307d3
lea r9, [0x140225908]
mov r8d, 0x2e0
lea rdx, [0x140225928]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x1401307a3
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x1401307c3
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130783
mov eax, 0xffffffff
jmp 0x140131152
mov ecx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x300]
mov byte [rax + rcx], 0
mov r9, qword [rsp + 0x338]
add r9, 0x90
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x800
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x338]
mov r8, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x330]
call fcn.14012bf80
test eax, eax
je 0x1401308cd
lea r9, [0x140225948]
mov r8d, 0x2e5
lea rdx, [0x140225970]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x14013089d
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x1401308bd
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x14013087d
mov eax, 0xffffffff
jmp 0x140131152
lea r8, [0x140225990]
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x78]
mov rcx, qword [rsp + 0x330]
call fcn.14011c1b0
mov qword [rsp + 0x308], rax
cmp qword [rsp + 0x308], 0
jne 0x140130971
lea r9, str.param_get___failed_n
mov r8d, 0x2ed
lea rdx, [0x1402259b8]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140130941
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140130961
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130921
mov eax, 0xffffffff
jmp 0x140131152
mov rax, qword [rsp + 0x308]
cmp dword [rax + 0x754], 0
je 0x140130d41
mov rax, qword [rsp + 0x308]
add rax, 0x250
test rax, rax
je 0x140130ae5
mov rcx, qword [rsp + 0x308]
add rcx, 0x250
lea rdx, [0x140223c74]
call fcn.1400ad900
test eax, eax
jne 0x140130ae5
lea r9, [0x1402259d8]
lea r8, [0x1402259e8]
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x78]
mov rcx, qword [rsp + 0x330]
call fcn.1401222e0
test eax, eax
jne 0x140130ae5
lea rax, str.Rejecting_SendTargetsAll_in_a_non_Discovery_session_n
mov qword [rsp + 0x20], rax
mov r9d, 0x2f3
lea r8, [0x140225a30]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rsp + 0x330]
call fcn.14011c000
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x140225a50]
lea r8, [0x140225a58]
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x78]
mov rcx, qword [rsp + 0x330]
call fcn.14011b4d0
test eax, eax
je 0x140130ae0
lea r9, [0x140225a68]
mov r8d, 0x2f4
lea rdx, [0x140225a88]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140130ab0
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140130ad0
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130a90
mov eax, 0xffffffff
jmp 0x140131152
jmp 0x140130d2f
mov dword [rsp + 0x88], 0
jmp 0x140130b03
mov eax, dword [rsp + 0x88]
add eax, 1
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x338]
mov eax, dword [rax + 0x3b8]
cmp dword [rsp + 0x88], eax
jge 0x140130d2f
mov rax, qword [rsp + 0x338]
cmp dword [rax + 0x3b4], 0x17
je 0x140130b44
mov rax, qword [rsp + 0x338]
cmp dword [rax + 0x3b4], 2
jne 0x140130d2a
movsxd rcx, dword [rsp + 0x88]
imul rcx, rcx, 0x270
mov rax, qword [rsp + 0x338]
mov rax, qword [rax + 0x3c0]
lea rax, [rax + rcx + 4]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x338]
mov r9, qword [r9 + 0x58]
lea r8, [0x140225aa8]
mov edx, 0x200
lea rcx, [rsp + 0xd0]
call fcn.1400ad810
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [0x140225ab0]
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x78]
mov rcx, qword [rsp + 0x330]
call fcn.14011b4d0
test eax, eax
je 0x140130c58
lea r9, [0x140225ac0]
mov r8d, 0x2fc
lea rdx, [0x140225ae0]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140130c28
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140130c48
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130c08
mov eax, 0xffffffff
jmp 0x140131152
mov r9, qword [rsp + 0x338]
mov r9, qword [r9 + 0x58]
add r9, 0x27c
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [0x140225b00]
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x78]
mov rcx, qword [rsp + 0x330]
call fcn.14011b4d0
test eax, eax
je 0x140130d2a
lea r9, [0x140225b10]
mov r8d, 0x2fd
lea rdx, [0x140225b30]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140130cfa
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140130d1a
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130cda
mov eax, 0xffffffff
jmp 0x140131152
jmp 0x140130af2
mov rax, qword [rsp + 0x308]
mov dword [rax + 0x754], 0
cmp dword [rsp + 0x8c], 0
je 0x140130e2e
mov r9, qword [rsp + 0x338]
add r9, 0x90
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 0x800
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x338]
mov r8, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x330]
call fcn.14012bf80
test eax, eax
je 0x140130e2e
lea r9, [0x140225b50]
mov r8d, 0x30a
lea rdx, [0x140225b78]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140130dfe
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140130e1e
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130dde
mov eax, 0xffffffff
jmp 0x140131152
mov rax, qword [rsp + 0x338]
cmp dword [rax + 0x3c], 0
je 0x140130e64
mov r8, qword [rsp + 0x338]
add r8, 0x80
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x78]
mov rcx, qword [rsp + 0x330]
call fcn.140124610
mov eax, dword [rsp + 0x2d4]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x2e8]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x50], 0
je 0x140130eae
mov dword [rsp + 0x310], 0xffffffff
jmp 0x140130eb9
mov dword [rsp + 0x310], 0x1234
mov eax, dword [rsp + 0x310]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x338]
mov ecx, dword [rax + 0x1c]
add ecx, 1
mov rax, qword [rsp + 0x338]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x338]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x338]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x338]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x78], eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x330]
call fcn.1401205f0
test eax, eax
je 0x140130f99
lea r9, str.iscsi_text_rsp_encap___failed_n
mov r8d, 0x31c
lea rdx, [0x140225bb8]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140130f69
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140130f89
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130f49
mov eax, 0xffffffff
jmp 0x140131152
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, gethostbyname
mov r8d, 1
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x330]
call fcn.140123650
cmp eax, 0x30
je 0x140131049
lea r9, [0x140225bd8]
mov r8d, 0x321
lea rdx, [0x140225bf8]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x140131019
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x140131039
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x140130ff9
mov eax, 0xffffffff
jmp 0x140131152
cmp dword [rsp + 0x8c], 0
je 0x14013110a
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x8c]
mov r8d, 1
mov rdx, qword [rsp + 0x338]
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x330]
call fcn.140123650
cmp eax, dword [rsp + 0x8c]
je 0x14013110a
lea r9, [0x140225c18]
mov r8d, 0x327
lea rdx, [0x140225c38]
mov rcx, qword [rsp + 0x330]
call fcn.14011bef0
cmp qword [rsp + 0x300], 0
je 0x1401310dd
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x1401310fd
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x1401310bd
mov eax, 0xffffffff
jmp 0x140131152
cmp qword [rsp + 0x300], 0
je 0x14013112a
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
cmp qword [rsp + 0x80], 0
je 0x14013114a
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x330]
call fcn.14011d0a0
xor eax, eax
test eax, eax
jne 0x14013110a
xor eax, eax
mov rcx, qword [rsp + 0x318]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x328
ret