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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0xb8], rax
movzx r13d, r9b
mov r14, r8
mov rsi, rdx
mov rbx, rcx
xor eax, eax
mov r12d, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x30], eax
mov byte [0x14058072c], al
mov qword [0x140580730], rax
test r8, r8
jne 0x14033b8ab
mov dword [0x140580728], 2
jmp 0x14033c2f5
cmp dword [rcx + 0x28], 1
jge 0x14033b8b8
mov dword [rcx + 0x28], 1
cmp dword [rcx + 0x2c], 1
jge 0x14033b8c5
mov dword [rcx + 0x2c], 0x270f
test r13b, r13b
je 0x14033b92e
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14033c2f3
mov rax, qword [rax]
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, rax
lea rax, str.wxPrinterDC
cmp rax, rdi
je 0x14033b95a
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14033b915
mov rdx, rax
call fcn.140120e60
test al, al
jne 0x14033b95a
lea rax, str.wxPrinterDC
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14033c2f3
mov rdx, rax
call fcn.140120e60
test al, al
jmp 0x14033b954
mov ecx, Ordinal_27
call fcn.14036c0f8
mov qword [rsp + 0x48], rax
lea rdx, [rbx + 0x40]
mov rcx, rax
call fcn.140256300
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14033c2f3
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x14033c2e6
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test al, al
je 0x14033c2e6
mov rdx, r15
mov rcx, r14
call fcn.1402f2840
test al, al
jne 0x14033b9a0
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
mov dword [0x140580728], 2
jmp 0x14033c2f3
mov ecx, reloc.WS2_32.dll_sendto
call fcn.14021ed60
mov rcx, rax
call fcn.140263b60
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x40]
mov rax, qword [r14]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x7c]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [rax + 0x58]
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
jne 0x14033b9f5
mov dword [0x140580728], 2
xor bl, bl
jmp 0x14033c2db
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x28], eax
mov dword [rbx + 0x2c], ecx
mov rax, qword [rbx]
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdi, rax
mov qword [rsp + 0x48], rax
call fcn.140222710
mov rcx, r15
call fcn.1402521f0
mov rcx, rax
lea rdx, [0x14033c720]
call qword [sym.imp.GDI32.dll_SetAbortProc]
test rdi, rdi
jne 0x14033bc55
xor al, al
lea rsi, [0x1403c8f48]
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmswprintwin.cpp
lea rdi, str.wxWindowsPrinter::Print
xor r14d, r14d
test al, al
jne 0x14033baab
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14010a1d0
mov rbx, rax
or r12d, 1
mov dword [rsp + 0x30], r12d
cmp dword [0x140575068], 0
je 0x14033ba8f
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x14033ba8f
call fcn.140136fe0
jmp 0x14033ba96
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14033baab
mov rcx, rbx
call fcn.140136b60
cmp eax, 6
jb 0x14033baab
mov bl, 1
jmp 0x14033baad
xor bl, bl
test r12b, 1
je 0x14033baca
and r12d, 0xfffffffe
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x68]
call fcn.14000e160
test bl, bl
je 0x14033bc37
call fcn.14010aa30
mov qword [rsp + 0x58], rax
call fcn.14010aa30
mov qword [rsp + 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, str.Could_not_create_an_abort_dialog.
lea rcx, [rsp + 0x68]
call fcn.14010f8e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x30], 6
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x20], reloc.WS2_32.dll___WSAFDIsSet
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], r14
mov qword [rbp], r14
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
lea rcx, [rsp + 0x58]
call fcn.140143f20
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140011670
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14033bbb3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14033bbae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14033bc30
call fcn.14036c454
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14033bc1f
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14036c454
nop
lea rcx, [rsp + 0x58]
call fcn.140010cb0
mov al, 1
jmp 0x14033ba56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [0x140580728], 2
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
xor bl, bl
jmp 0x14033c2db
mov qword [0x140580730], rdi
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x1c8]
xor edx, edx
xor ecx, ecx
call fcn.140221cd0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + Ordinal_50]
xor edi, edi
mov dword [0x140580728], edi
mov r15d, dword [rsp + 0x38]
mov esi, dword [rsp + 0x3c]
cmp byte [rbx + 0x34], dil
jne 0x14033bca0
cmp byte [rbx + 0x37], dil
jne 0x14033bca0
mov r15d, dword [rbx + 0x20]
mov esi, dword [rbx + 0x24]
test r13b, r13b
je 0x14033bcb5
cmp dword [rbx + 0x5c], edi
je 0x14033bcb5
mov ebx, 1
mov dword [rsp + 0x34], ebx
jmp 0x14033bcc5
mov ebx, dword [rbx + 0x30]
mov dword [rsp + 0x34], ebx
cmp ebx, 1
jl 0x14033c285
mov r13d, 1
nop dword [rax + rax]
mov rax, qword [r14]
mov r8d, esi
mov edx, r15d
mov rcx, r14
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test al, al
je 0x14033bdbb
cmp byte [0x14058072c], 0
jne 0x14033bdac
mov edi, r15d
cmp r15d, esi
jg 0x14033bd92
mov r12d, 1
sub r12d, r15d
nop dword [rax]
mov rax, qword [r14]
mov edx, edi
mov rcx, r14
call qword [rax + 0x48]
test al, al
je 0x14033bd92
mov r8d, esi
sub r8d, r15d
inc r8d
lea edx, [r12 + rdi]
mov dword [rsp + 0x20], ebx
mov r9d, r13d
mov rcx, qword [rsp + 0x48]
call fcn.1402f2120
cmp byte [0x14058072c], 0
jne 0x14033bd88
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rax, qword [r14]
mov edx, edi
mov rcx, r14
call qword [rax + 0x50]
movzx ebx, al
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rcx]
call qword [rdx + 0x90]
test bl, bl
mov ebx, dword [rsp + 0x34]
je 0x14033bd88
inc edi
cmp edi, esi
jle 0x14033bd10
jmp 0x14033bd92
mov dword [0x140580728], 1
mov rax, qword [r14]
mov rcx, r14
call qword [rax + Ordinal_41]
inc r13d
cmp r13d, ebx
jle 0x14033bcd0
jmp 0x14033c283
mov dword [0x140580728], 1
jmp 0x14033c283
xor al, al
lea rsi, [0x1403c8f48]
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmswprintwin.cpp
lea rdi, str.wxWindowsPrinter::Print
mov r12d, dword [rsp + 0x50]
xor r15d, r15d
nop word [rax + rax]
test al, al
jne 0x14033be35
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14010a1d0
mov rbx, rax
or r12d, 2
mov dword [rsp + 0x30], r12d
cmp dword [0x140575068], 0
je 0x14033be19
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x14033be19
call fcn.140136fe0
jmp 0x14033be20
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14033be35
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x14033be35
mov bl, 1
jmp 0x14033be37
xor bl, bl
test r12b, 2
je 0x14033be59
and r12d, 0xfffffffd
mov dword [rsp + 0x30], r12d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x68]
call fcn.14000e160
test bl, bl
je 0x14033c279
mov rax, qword [0x140575108]
test rax, rax
jne 0x14033be79
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.Could_not_start_printing.
lea rcx, [rbp - 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x48], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x14033beaa
inc word [rbx + 0x10]
or r12d, 8
mov dword [rsp + 0x30], r12d
call fcn.14010aa30
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x14033bf01
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x14033bef8
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14033bef1
cmp byte [rdi + 0x12], 0
je 0x14033bee4
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
lea rdi, str.wxWindowsPrinter::Print
call fcn.14010aa30
mov qword [rbp - 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r15w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14033bf20
lea rcx, [rbp - 0x68]
call fcn.14001d300
and r12d, 0xfffffff7
mov dword [rsp + 0x30], r12d
call fcn.14010aa30
cmp rbx, rax
je 0x14033bf78
mov eax, 0xffff
add word [rbx + 0x10], ax
jne 0x14033bf6e
cmp byte [rbx + 0x12], 0
je 0x14033bf61
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r15w
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r15
call fcn.140149fa0
test rax, rax
je 0x14033bff5
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x14033c001
lea rcx, [rbp - 0x68]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x58], rax
call fcn.14010aa30
mov qword [rsp + 0x60], rax
call fcn.14010aa30
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x20], 0xb9
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], r15
mov qword [rbp], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
lea rcx, [rsp + 0x58]
call fcn.140143f20
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140011670
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14033c0d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14033c0d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14033c25d
call fcn.14036c454
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14033c141
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r15
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14036c454
nop
lea rcx, [rsp + 0x58]
call fcn.140010cb0
nop
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14033c196
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14033c191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14033c264
call fcn.14036c454
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14033c1f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14033c1f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14033c26b
call fcn.14036c454
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r15w
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14033c256
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14033c251
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14033c272
call fcn.14036c454
mov al, 1
jmp 0x14033bde0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [0x140580728], 2
xor edi, edi
mov rax, qword [r14]
mov rcx, r14
call qword [rax + gethostname]
mov rcx, qword [0x140580730]
test rcx, rcx
je 0x14033c2c2
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x1c8]
mov rcx, qword [0x140580730]
test rcx, rcx
je 0x14033c2c2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x140580730], rdi
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp dword [0x140580728], 0
sete bl
call fcn.140263d50
nop
movzx eax, bl
jmp 0x14033c2f5
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
xor al, al
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret