Function at 0x4421a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x5f5774
mov dword [ebp - 0x1c], ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov eax, dword [ebx + 4]
push 0
push 0
add ebx, 4
push 0x1032
push eax
or edi, 0xffffffff
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
test eax, eax
jne 0x4422c3
mov eax, dword [esi - 0xc]
test eax, eax
je 0x442284
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x442284
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi - 4], 1
mov dword [ebp - 0x34], eax
jle 0x442246
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442250
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebx]
push eax
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], 0xffffffff
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4422a7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebx]
push 2
push edi
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, 0xffffffff
je 0x44281a
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push 0
mov dword [ecx + 0x2c4], 0
push edi
mov ecx, ebx
call fcn.00432c50
mov eax, dword [ebp - 0x14]
mov edx, dword [eax - 0xc]
mov ebx, dword [esi - 0xc]
mov dword [ebp - 0x24], eax
sub eax, esi
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebx + edx]
sub eax, edi
or eax, ecx
mov dword [ebp - 0x2c], edx
jge 0x442350
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
ja 0x44235d
lea eax, [esi + eax*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx]
push eax
push ecx
push eax
lea edx, [esi + ebx*2]
push edx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ebx, 0x59d684
mov dword [ebp - 0x24], ebx
mov ecx, 1
sub ecx, dword [esi - 4]
sub ebx, esi
lea edi, [edx + 2]
sub eax, edi
sar ebx, 1
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x4423c1
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp ebx, edx
ja 0x4423cb
lea ecx, [esi + ebx*2]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push 4
push eax
lea ecx, [esi + edx*2]
push 4
push ecx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
mov edx, dword [ebp - 0x20]
push 1
push edx
mov dword [eax + 0x2c0], 1
call fcn.00432c50
mov eax, dword [ebp - 0x14]
mov edx, dword [eax - 0xc]
mov ebx, dword [esi - 0xc]
mov dword [ebp - 0x24], eax
sub eax, esi
sar eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebx + edx]
sub eax, edi
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x442451
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
ja 0x44245e
lea eax, [esi + eax*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx]
push eax
push ecx
push eax
lea edx, [esi + ebx*2]
push edx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ebx, 0x59d684
mov dword [ebp - 0x24], ebx
mov ecx, 1
sub ecx, dword [esi - 4]
sub ebx, esi
lea edi, [edx + 2]
sub eax, edi
sar ebx, 1
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x4424c2
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp ebx, edx
ja 0x4424cc
lea ecx, [esi + ebx*2]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push 4
push eax
lea ecx, [esi + edx*2]
push 4
push ecx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
mov edx, dword [ebp - 0x20]
push 4
push edx
mov dword [eax + 0x2b4], 4
call fcn.00432c50
mov eax, dword [ebp - 0x14]
mov edx, dword [eax - 0xc]
mov ebx, dword [esi - 0xc]
mov dword [ebp - 0x24], eax
sub eax, esi
sar eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebx + edx]
sub eax, edi
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x442552
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
ja 0x44255f
lea eax, [esi + eax*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx]
push eax
push ecx
push eax
lea edx, [esi + ebx*2]
push edx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ebx, 0x59d684
mov dword [ebp - 0x24], ebx
mov ecx, 1
sub ecx, dword [esi - 4]
sub ebx, esi
lea edi, [edx + 2]
sub eax, edi
sar ebx, 1
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x4425c3
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp ebx, edx
ja 0x4425cd
lea ecx, [esi + ebx*2]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push 4
push eax
lea ecx, [esi + edx*2]
push 4
push ecx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
mov edx, dword [ebp - 0x20]
push 3
push edx
mov dword [eax + 0x2b0], 3
call fcn.00432c50
mov eax, dword [ebp - 0x14]
mov edx, dword [eax - 0xc]
mov ebx, dword [esi - 0xc]
mov dword [ebp - 0x24], eax
sub eax, esi
sar eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebx + edx]
sub eax, edi
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x442653
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
ja 0x442660
lea eax, [esi + eax*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx]
push eax
push ecx
push eax
lea edx, [esi + ebx*2]
push edx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ebx, 0x59d684
mov dword [ebp - 0x24], ebx
mov ecx, 1
sub ecx, dword [esi - 4]
sub ebx, esi
lea edi, [edx + 2]
sub eax, edi
sar ebx, 1
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x4426c4
push edi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp ebx, edx
ja 0x4426ce
lea ecx, [esi + ebx*2]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push 4
push eax
lea ecx, [esi + edx*2]
push 4
push ecx
call fcn.00554d08
add esp, 0x10
test edi, edi
js 0x44282f
cmp edi, dword [esi - 8]
jg 0x44282f
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
mov edx, dword [ebp - 0x20]
push 5
push edx
mov dword [eax + 0x2b8], 5
call fcn.00432c50
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x2c], eax
lea ebx, [edx + eax]
mov eax, dword [esi - 8]
mov dword [ebp - 0x24], edi
mov ecx, 1
sub ecx, dword [esi - 4]
sub edi, esi
sub eax, ebx
sar edi, 1
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x442754
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp edi, edx
ja 0x44275e
lea eax, [esi + edi*2]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
add eax, eax
push eax
push ecx
push eax
lea edx, [esi + edx*2]
push edx
call fcn.00554d08
add esp, 0x10
test ebx, ebx
js 0x44282f
cmp ebx, dword [esi - 8]
jg 0x44282f
mov dword [esi - 0xc], ebx
xor eax, eax
mov word [esi + ebx*2], ax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov edi, 0x59d684
mov dword [ebp - 0x24], edi
mov ecx, 1
sub ecx, dword [esi - 4]
sub edi, esi
lea ebx, [edx + 2]
sub eax, ebx
sar edi, 1
or eax, ecx
mov dword [ebp - 0x30], edx
jge 0x4427c4
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp edi, edx
ja 0x4427ce
lea ecx, [esi + edi*2]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push 4
push eax
lea ecx, [esi + edx*2]
push 4
push ecx
call fcn.00554d08
add esp, 0x10
test ebx, ebx
js 0x44282f
cmp ebx, dword [esi - 8]
jg 0x44282f
xor edx, edx
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], dx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x34]
jb 0x4422c0
jmp 0x44220d
push 0x80070057
call fcn.00401150
int3