Function at 0x140011290
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x540
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140011301
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400112f7
mov rcx, rax
call fcn.140050830
jmp 0x1400112fa
mov rax, rbp
mov qword [0x1401370f0], rax
mov r8, rdi
lea rdx, str.EnableDirectPrint__s_
mov rcx, rax
call fcn.140050c00
lea rcx, [rsp + 0x30]
call fcn.140006910
nop
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140008580
test eax, eax
jne 0x14001135f
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011348
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140011348
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140011358
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140011793
mov byte [rsp + 0x330], 0
xor edx, edx
mov r8d, 0x1f3
lea rcx, [rsp + 0x331]
call fcn.1400b57e0
mov qword [rsp + 0x240], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x238], rbp
mov byte [rsp + 0x228], 0
mov qword [rsp + 0x290], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x288], rbp
mov byte [rsp + 0x278], 0
xor r8d, r8d
lea edx, [r8 + 0x17]
lea rcx, [rsp + 0x270]
call fcn.140015290
lea rcx, [rsp + 0x278]
mov rdx, qword [rsp + 0x290]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x278]
mov r9d, 0x17
lea r8, str._DevMgmt_NetAppsDyn.xml
call fcn.1400b09f0
mov qword [rsp + 0x288], 0x17
lea rax, [rsp + 0x278]
cmp qword [rsp + 0x290], 0x10
cmovae rax, qword [rsp + 0x278]
mov byte [rax + 0x17], 0
mov qword [rsp + 0x268], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x260], rbp
mov byte [rsp + 0x250], 0
xor r8d, r8d
lea edx, [r8 + 0x7c]
lea rcx, [rsp + 0x248]
call fcn.140015290
lea rcx, [rsp + 0x250]
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x250]
mov r9d, 0x7c
lea r8, str.__xml_version_1.0__encoding_UTF_8____r_n_nadyn:NetAppsDyn__r_n_nadyn:DirectPrint__s__nadyn:DirectPrint__r_n__nadyn:NetAppsDyn__r_n
call fcn.1400b09f0
mov qword [rsp + 0x260], 0x7c
lea rax, [rsp + 0x250]
cmp qword [rsp + 0x268], 0x10
cmovae rax, qword [rsp + 0x250]
mov byte [rax + 0x7c], 0
lea r9, str.enabled
lea rax, str.disabled
test esi, esi
cmove r9, rax
lea r8, [rsp + 0x250]
cmp qword [rsp + 0x268], 0x10
cmovae r8, qword [rsp + 0x250]
mov edx, 0x1f4
lea rcx, [rsp + 0x330]
call fcn.1400b1eb0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x330]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rax, [rsp + 0x228]
mov rcx, qword [rsp + 0x228]
mov rdx, qword [rsp + 0x240]
cmp rdx, 0x10
cmovae rax, rcx
lea r9, [rsp + 0x330]
mov r8, qword [rsp + 0x238]
cmp r9, rax
jb 0x14001158e
lea rax, [rsp + 0x228]
cmp rdx, 0x10
cmovae rax, rcx
add rax, r8
lea r9, [rsp + 0x330]
cmp rax, r9
jbe 0x14001158e
lea rax, [rsp + 0x228]
cmp rdx, 0x10
cmovae rax, rcx
lea r8, [rsp + 0x330]
sub r8, rax
mov r9, rdi
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x220]
call fcn.140014b30
jmp 0x140011641
cmp rdi, 0xfffffffffffffffe
jbe 0x1400115a1
call fcn.1400d8c10
mov r8, qword [rsp + 0x238]
cmp qword [rsp + 0x240], rdi
jae 0x1400115bd
mov rdx, rdi
lea rcx, [rsp + 0x220]
call fcn.140015290
jmp 0x1400115e9
test rdi, rdi
jne 0x1400115e9
mov qword [rsp + 0x238], rbp
lea rax, [rsp + 0x228]
cmp qword [rsp + 0x240], 0x10
cmovae rax, qword [rsp + 0x228]
mov byte [rax], dil
jmp 0x140011641
test rdi, rdi
je 0x140011641
lea rcx, [rsp + 0x228]
mov rdx, qword [rsp + 0x240]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x228]
mov r9, rdi
lea r8, [rsp + 0x330]
call fcn.1400b09f0
mov qword [rsp + 0x238], rdi
lea rax, [rsp + 0x228]
cmp qword [rsp + 0x240], 0x10
cmovae rax, qword [rsp + 0x228]
mov byte [rax + rdi], 0
lea rsi, [rsp + 0x278]
cmp qword [rsp + 0x290], 0x10
cmovae rsi, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400116d0
mov rax, qword [rsp + 0xd0]
test rax, rax
jne 0x1400116b7
test rdi, rdi
je 0x1400116a8
lea rdx, str.PutPage
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], rax
test rax, rax
jne 0x1400116b7
lea rcx, str.EWSIntf::put_page:_Function_not_found_in_DLL:_PutPage_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400116d0
lea rcx, str.EWSIntf::put_page:_Attempting_to_lookup_PutPage_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400116d0
lea r9, [rsp + 0x2a0]
lea r8, [rsp + 0x330]
mov rdx, rsi
mov rcx, rbx
call rax
nop
cmp qword [rsp + 0x268], 0x10
jb 0x1400116e8
mov rcx, qword [rsp + 0x250]
call fcn.140084dcc
mov qword [rsp + 0x268], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x260], rbp
mov byte [rsp + 0x250], 0
cmp qword [rsp + 0x290], 0x10
jb 0x14001171c
mov rcx, qword [rsp + 0x278]
call fcn.140084dcc
mov qword [rsp + 0x290], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x288], rbp
mov byte [rsp + 0x278], 0
cmp qword [rsp + 0x240], 0x10
jb 0x140011750
mov rcx, qword [rsp + 0x228]
call fcn.140084dcc
mov qword [rsp + 0x240], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x238], rbp
mov byte [rsp + 0x228], 0
test rbx, rbx
je 0x140011780
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140011780
mov rcx, rbx
call rax
test rdi, rdi
je 0x14001178e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret