Function at 0x43c3b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508fb5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 9
push 0x110a
push dword [0x545fe0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x43c6a5
push esi
mov ecx, 0x545fdc
call fcn.00434a40
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c4cb
mov edx, edi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.0042e8a0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x43c4a4
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x43c4a4
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c440
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x42
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43c4a4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43c4a4
push dword [ebp - 0x14]
push ebx
push eax
call fcn.004def30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0
test esi, esi
je 0x43c6b7
add dword [esi + 4], 0xffffffff
jne 0x43c6b7
push esi
call fcn.004eb01a
add esp, 4
jmp 0x43c6b7
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.0043c150
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43c51d
cmp dword [eax], 0
je 0x43c51d
mov esi, dword [eax + 8]
test esi, esi
je 0x43c51d
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x43c50a
nop
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x43c500
lea ecx, [edx - 1]
test ecx, ecx
js 0x43c51d
cmp word [esi + ecx*2], 0x7c
je 0x43c520
sub ecx, 1
jns 0x43c511
or ecx, 0xffffffff
or edx, 0xffffffff
lea edi, [ecx + 1]
test eax, eax
jne 0x43c531
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x43c56d
mov esi, dword [eax]
cmp esi, 0xffffffff
cmovb edx, esi
cmp edi, esi
jb 0x43c546
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1c], esi
jmp 0x43c56d
lea ecx, [edi + edx]
cmp ecx, esi
jbe 0x43c551
mov edx, esi
sub edx, edi
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0
lea eax, [eax + edi*2]
push eax
call fcn.0042dfa0
mov esi, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
test eax, eax
je 0x43c5c6
mov ecx, dword [eax]
test ecx, ecx
je 0x43c5c6
mov edx, dword [eax + 8]
dec ecx
cmp word [edx + ecx*2], 0x20
lea ecx, [edx + ecx*2]
jne 0x43c59d
nop dword [eax]
cmp ecx, edx
je 0x43c5a1
sub ecx, 2
cmp word [ecx], 0x20
je 0x43c590
cmp ecx, edx
jne 0x43c5ab
cmp word [ecx], 0x20
jne 0x43c5ab
xor ecx, ecx
jmp 0x43c5b1
sub ecx, dword [esi + 8]
sar ecx, 1
inc ecx
push ecx
push dword [esi + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0042dfa0
jmp 0x43c5cd
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042ec20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43c5f3
add dword [eax + 4], 0xffffffff
jne 0x43c5f3
push eax
call fcn.004eb01a
add esp, 4
mov byte [ebp - 4], 4
test esi, esi
je 0x43c60a
add dword [esi + 4], 0xffffffff
jne 0x43c60a
push esi
call fcn.004eb01a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43c682
mov edi, dword [eax + 8]
test edi, edi
je 0x43c682
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c620
sub ecx, edx
sar ecx, 1
lea ebx, [ecx*2 + 2]
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43c67f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43c67f
push ebx
push edi
push eax
call fcn.004def30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x43c6b7
add dword [eax + 4], 0xffffffff
jne 0x43c6b7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43c6b7
push eax
call fcn.004eb01a
add esp, 4
jmp 0x43c6b7
push 0x51ea6c
push 0x51d6e4
call fcn.00464a70
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret