Function at 0x180004490
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12, rcx
mov rcx, qword [rcx + 8]
mov rsi, r8
mov rax, qword [rcx]
mov rbx, rdx
call qword [rax + 0x18]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x180004863
lea rcx, [rbp - 0x4f]
xor edx, edx
mov r8d, 0x103
mov byte [rbp - 0x50], al
call sub.MSVCR100.dll_memset
movzx ecx, word [rbx]
lea rdx, [rbp - 0x50]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetClipboardFormatNameA]
lea rcx, [rbp + 0xc1]
xor edx, edx
mov r8d, 0x12b
mov byte [rbp + 0xc0], 0
call sub.MSVCR100.dll_memset
mov eax, dword [r12 + 0x14]
movzx r9d, word [rbx]
mov dword [rsp + 0x30], eax
mov eax, dword [rsi]
lea r8, str.Rmsex__942:CPycHookIDataObject::GetData__IDataObject_GetData__x__s___x__d_
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x50]
lea rcx, [rbp + 0xc0]
mov edx, 0x12c
mov qword [rsp + 0x20], rax
call entry0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [r12 + 0x14], 0
je 0x18000488a
cmp dword [rsi], 1
jne 0x1800046e9
lea rcx, str.Object_Descriptor
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
movzx ecx, word [rbx]
cmp eax, ecx
je 0x1800046e9
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsi + 8]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor ebx, ebx
mov rdi, rax
mov r14d, ebx
test rax, rax
je 0x1800046b4
cmp r13, 0x20
jbe 0x1800046b4
sub r13, 0x20
test r13b, 0xf
jne 0x1800046b4
cmp dword [rax + r13], 0x435950
jne 0x1800046b4
mov r8, qword [rax + r13 + 8]
lea r12d, [rbx + 0x10]
mov rax, r8
cqo
and edx, 0xf
add rax, rdx
and eax, 0xf
sub rax, rdx
je 0x1800045fd
mov ecx, r12d
sub rcx, rax
add r8, rcx
cmp r13, r8
jne 0x1800046b4
mov r14d, 1
test r13, r13
je 0x1800046b4
nop word [rax + rax]
mov rax, r13
mov rdx, rdi
sub rax, rbx
cmp rax, r12
cmova eax, r12d
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x70]
mov r8d, eax
call fcn.18001f984
cmp dword [0x180054da8], 0
mov r11, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], r11
mov qword [rbp - 0x78], rax
jne 0x180004669
call fcn.180003560
mov rax, qword [0x180054750]
mov qword [0x1800534c0], rax
mov rax, qword [0x180054758]
mov qword [0x1800534c8], rax
call fcn.180011050
lea rcx, [rbp - 0x80]
mov edx, r12d
call fcn.180011330
mov rax, qword [rbp - 0x80]
add rbx, r12
mov qword [rdi], rax
mov rax, qword [rbp - 0x78]
mov qword [rdi + 8], rax
add rdi, r12
cmp rbx, r13
jb 0x180004620
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14d, r14d
je 0x1800049d5
mov rdx, qword [rdi + 8]
mov rcx, qword [rsi + 8]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov r14d, dword [rsp + 0x40]
mov qword [rsi + 8], rax
jmp 0x180004866
cmp dword [rsi], 4
jne 0x1800049d5
mov rcx, qword [rsi + 8]
xor ebx, ebx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
mov rax, qword [rcx]
lea r8d, [rbx + 2]
mov edx, ebx
call qword [rax + 0x28]
mov r14d, eax
test eax, eax
jne 0x180004866
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x20
jb 0x180004866
test dl, 0xf
jne 0x180004866
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x48]
add rdx, 0xffffffffffffffe0
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x28]
test eax, eax
jne 0x180004869
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x40]
lea r8d, [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x18]
test eax, eax
jne 0x180004869
cmp dword [rsp + 0x50], 0x435950
mov rdx, qword [rsp + 0x48]
jne 0x180004844
mov edi, ebx
test rdx, rdx
jle 0x180004844
lea r12d, [rbx + 0x10]
mov rcx, qword [rsi + 8]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x28]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
mov r8d, r12d
call qword [rax + 0x18]
cmp dword [0x180054da8], ebx
mov r11, qword [rbp - 0x70]
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x78], rax
jne 0x1800047da
call fcn.180003560
mov rax, qword [0x180054750]
mov qword [0x1800534c0], rax
mov rax, qword [0x180054758]
mov qword [0x1800534c8], rax
call fcn.180011050
lea rcx, [rsp + 0x70]
mov edx, r12d
call fcn.180011330
mov rcx, qword [rsi + 8]
lea r9, [rbp - 0x80]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x28]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov r8d, r12d
call qword [rax + 0x20]
mov rdx, qword [rsp + 0x48]
add rdi, r12
cmp rdi, rdx
jl 0x180004791
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x48]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov r14d, eax
mov eax, r14d
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18001eef0
add rsp, 0x300
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsi], 1
jne 0x1800049df
lea rcx, str.Object_Descriptor
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
movzx ecx, word [rbx]
cmp eax, ecx
je 0x1800049df
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov r14, rax
mov rdx, rax
and eax, 0xf
je 0x1800048c7
sub rdx, rax
add rdx, 0x10
mov rcx, qword [rsi + 8]
add rdx, 0x20
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov rcx, rax
mov qword [rsi + 8], rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r13, rax
test rax, rax
je 0x1800049cb
mov rcx, r14
mov qword [rsp + 0x358], r15
xor ebx, ebx
call fcn.18000d760
mov r15, rax
test rax, rax
je 0x1800049b7
mov r12d, 0x10
nop dword [rax + rax]
mov rdi, r14
lea rcx, [rbp - 0x80]
mov rdx, r13
sub rdi, rbx
cmp rdi, r12
cmova edi, r12d
mov r8d, edi
call fcn.18001f984
mov r8d, r12d
lea rcx, [rbp - 0x80]
sub r8d, edi
xor edx, edx
call sub.MSVCR100.dll_memset
cmp dword [0x180054da8], 0
je 0x180004996
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x78], rax
mov rax, qword [0x180054750]
mov qword [0x1800534c0], rax
mov rax, qword [0x180054758]
mov qword [0x1800534c8], rax
call fcn.180011050
lea rcx, [rsp + 0x70]
mov edx, r12d
call fcn.180011330
mov rax, qword [rsp + 0x70]
add rbx, r12
mov qword [r13], rax
mov rax, qword [rsp + 0x78]
mov qword [r13 + 8], rax
add r13, r12
cmp rbx, r15
jb 0x180004920
mov r15, qword [rsp + 0x358]
mov dword [r13], 0x435950
mov qword [r13 + 8], r14
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r14d, dword [rsp + 0x40]
jmp 0x180004866
xor ebx, ebx
cmp dword [rsi], 4
jne 0x180004b5d
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x48]
mov rax, qword [rcx]
lea r8d, [rbx + 2]
mov edx, ebx
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
and eax, 0xf
je 0x180004a18
sub rdx, rax
add rdx, 0x10
mov rcx, qword [rsi + 8]
add rdx, 0x20
mov qword [rbp - 0x80], rdx
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x180004869
mov rcx, qword [rsi + 8]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov rax, qword [rsp + 0x48]
test rax, rax
jle 0x180004b31
mov r12d, 0x10
nop word [rax + rax]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov r11, qword [rsp + 0x48]
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
sub r11, rbx
mov edi, r12d
cmp r11, rdi
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x60]
cmovb edi, r11d
mov r8d, edi
call qword [rax + 0x18]
mov r8d, r12d
lea rcx, [rbp + rdi - 0x60]
sub r8d, edi
xor edx, edx
call sub.MSVCR100.dll_memset
cmp dword [0x180054da8], 0
je 0x180004af5
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x68], rax
mov rax, qword [0x180054750]
mov qword [0x1800534c0], rax
mov rax, qword [0x180054758]
mov qword [0x1800534c8], rax
call fcn.180011050
lea rcx, [rbp - 0x70]
mov edx, r12d
call fcn.180011330
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
mov r8d, r12d
call qword [rax + 0x20]
mov rax, qword [rsp + 0x48]
add rbx, r12
cmp rbx, rax
jl 0x180004a60
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x435950
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x20
call qword [rax + 0x20]
jmp 0x180004863
mov dword [rsi], ebx
mov r14d, 1
jmp 0x180004866