Function at 0x140048b40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov qword [rsp + 0x58], rcx
lea rdx, str.CheckPrinterDriverInstall::CheckInUseOfDriver
lea rcx, [rbp + 0x210]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea r12, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140048bd9
test byte [rcx + 0x1c], 1
je 0x140048bd9
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, send
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor esi, esi
mov r14d, esi
lea rcx, [rbp - 0x78]
call fcn.1401c8bf0
nop
lea rcx, [rsp + 0x50]
call fcn.1400a8440
nop
lea rcx, [rsp + 0x50]
call fcn.1400af990
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
lea r8, [0x140252f48]
lea rdx, str.RETCODE
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov r13, 0xffffffffffffffff
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1401c921c
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov ebx, eax
mov dword [rsp + 0x4c], eax
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140048caa
test byte [rcx + 0x1c], 4
je 0x140048caa
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rsi + 0x13]
mov dword [rsp + 0x20], eax
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
mov edi, esi
test ebx, ebx
jle 0x140048e56
test r14d, r14d
jne 0x140048e56
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov edx, edi
mov rax, qword [rax + 0x90]
call qword [case.0x1400136d6.0]
mov rbx, rax
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140048d2b
test byte [rcx + 0x1c], 4
je 0x140048d2b
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [r14 + 0x14]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.1400483b0
test rbx, rbx
je 0x140048e1f
cmp dword [rbx + 4], 0
je 0x140048e48
lea rcx, [rsp + 0x60]
call fcn.1401c8bf0
nop
lea rdx, [rbx + 8]
mov rax, qword [0x1402bc020]
lea r8, [rsp + 0x60]
lea rcx, [0x1402bc020]
mov rax, qword [rax + 0x10]
call qword [case.0x1400136d6.0]
mov r14d, eax
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140048daf
test byte [rcx + 0x1c], 4
je 0x140048daf
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, socket
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
cmp qword [rsp + 0x70], 0
jle 0x140048e13
mov rcx, qword [0x1402bbf58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x148]
lea rdx, [rsp + 0x60]
mov rcx, r8
call qword [case.0x1400136d6.0]
test eax, eax
je 0x140048e13
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0x2d
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov r14d, 0x80010018
mov dword [0x1402bbd98], 0x18
lea rcx, [rsp + 0x60]
call fcn.1401c8c10
jmp 0x140048e48
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0x2d
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov r14d, 0x80010018
mov dword [0x1402bbd98], 0x18
inc edi
mov ebx, dword [rsp + 0x4c]
cmp edi, ebx
jl 0x140048cb4
xor r8d, r8d
mov edx, 0x404
lea rcx, [rbp - 0x20]
call fcn.1401c5d80
nop
lea rax, vtable.CBaseDlgWait.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x110]
call fcn.1401bd738
lea rax, vtable.CButton.0
mov qword [rbp + 0x110], rax
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140049448
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rbp + 0x1f8], rax
lea rdx, [0x140251dfc]
mov rax, r13
inc rax
cmp word [rdx + rax*2], 0
jne 0x140048ec0
mov r8d, eax
lea rcx, [rbp + 0x1f8]
call fcn.140004e60
mov qword [rbp + 0x200], rsi
mov edi, esi
mov r15d, esi
test ebx, ebx
jle 0x1400492e2
nop dword [rax]
test r14d, r14d
jne 0x1400492c0
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x90]
mov edx, r15d
mov rcx, r8
call qword [case.0x1400136d6.0]
mov rsi, rax
mov r8d, dword [rax]
cmp r8d, 6
je 0x1400492b4
mov rcx, qword [0x1402a8360]
lea rax, [0x1402a8360]
cmp rcx, rax
je 0x140048f8c
test byte [rcx + 0x1c], 4
je 0x140048f8c
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea rax, [rsi + 0x418]
lea edx, [r14 + 0x16]
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.1400482c0
mov eax, dword [rsi + 4]
sub eax, 2
cmp eax, 1
ja 0x1400492b4
mov rcx, qword [0x1402bbf58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov r8, rax
mov rcx, qword [rax]
lea rdx, [rsi + 0x828]
mov rax, qword [rcx + 0x190]
mov rcx, r8
call qword [case.0x1400136d6.0]
test eax, eax
je 0x140049243
cmp dword [0x1402bbf70], 1
je 0x140049243
mov dword [rsp + 0x48], 0
test edi, edi
jne 0x140049172
call fcn.1401bb0c4
mov rdx, rax
test rax, rax
je 0x140049453
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rax, [0x140251dfc]
lea rcx, [rsp + 0x40]
cmp rax, 0x10000
jae 0x140049039
movzx edx, ax
call fcn.1400041d0
jmp 0x140049045
xor r8d, r8d
mov rdx, rax
call fcn.140004e60
nop
mov edx, 0x3b
lea rcx, [rsp + 0x40]
call fcn.1400041d0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
mov rdi, qword [rbp + 0x1f8]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x1400490cb
cmp dword [rdi + 0x10], 0
jl 0x1400490b8
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400490b8
call fcn.140004d00
mov rbx, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x1400490a6
lfence
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [case.0x1400136d6.0]
lea rax, [rbx + 0x18]
mov qword [rbp + 0x1f8], rax
mov rbx, qword [rsp + 0x40]
jmp 0x1400490cb
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.140004e60
xor edx, edx
xor ecx, ecx
call fcn.1401c00b8
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x140049104
mov rcx, rax
call fcn.1401c5abc
test eax, eax
je 0x140049104
xor edx, edx
mov rcx, qword [rbp + 0xf0]
call fcn.1401c57e8
mov dword [rbp + 0x204], 1
xor r8d, r8d
mov edx, 0x404
lea rcx, [rbp - 0x20]
call fcn.1401c6060
test eax, eax
jne 0x14004912e
mov rax, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x318]
call qword [case.0x1400136d6.0]
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.1401c5d54
mov edx, 5
lea rcx, [rbp - 0x20]
call fcn.1401c5d54
mov edi, 1
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, edi
jg 0x140049172
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x140048990]
call fcn.1401ca984
mov rbx, rax
test rax, rax
je 0x140049239
mov dword [rax + 0x50], 0
mov rcx, qword [rax + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140049215
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140049202
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor edx, edx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1400491d0
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov eax, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x4c]
jmp 0x140049263
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsi + 0x418]
xor r9d, r9d
lea r8d, [r9 + 1]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
test eax, eax
je 0x1400492b4
test edi, edi
je 0x14004928b
mov rax, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x318]
call qword [case.0x1400136d6.0]
lea rcx, [rbp - 0x20]
call fcn.1401bf7a0
xor edi, edi
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0x2d
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov r14d, 0x80010018
mov dword [0x1402bbd98], 0x18
inc r15d
cmp r15d, ebx
jl 0x140048ef0
test edi, edi
je 0x1400492e2
mov rax, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x318]
call qword [case.0x1400136d6.0]
lea rcx, [rbp - 0x20]
call fcn.1401bf7a0
mov byte [rbp + 0x218], 1
mov rcx, qword [0x1402a8360]
lea rbx, [0x1402a8360]
cmp rcx, rbx
je 0x140049330
test byte [rcx + 0x1c], 1
je 0x140049330
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_socket
mov dword [rsp + 0x20], r14d
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rax, vtable.CBaseDlgWait.0
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp + 0x1f8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
sub r13d, 1
jg 0x140049365
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x110]
call fcn.1401c6f3c
lea rcx, [rbp - 0x20]
call fcn.1401c5dfc
nop
lea rcx, [rsp + 0x50]
call fcn.1400a85b0
nop
lea rcx, [rbp - 0x78]
call fcn.1401c8c10
nop
lea rax, vtable.WppTrace.0
mov qword [rbp + 0x210], rax
cmp byte [rbp + 0x218], 0
jne 0x1400493fd
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x1400493fd
test byte [rcx + 0x1c], 1
je 0x1400493fd
lea rax, [rbp + 0x220]
cmp qword [rbp + 0x238], 8
cmovae rax, qword [rbp + 0x220]
cmp qword [0x1402bbdc8], 8
cmovae r12, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, r12
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x240]
call fcn.1400048a0
lea rcx, [rbp + 0x220]
call fcn.1400048a0
mov eax, r14d
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
nop
mov ecx, 0x80004005
call fcn.140001470
int3