Function at 0x419f70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [0x6167a4]
mov eax, dword [eax + 0x3a14]
mov ecx, dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x419f9f
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 8], eax
xor ebx, ebx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41a1cb
push edi
mov edi, dword [0x616724]
nop word [eax + eax]
movzx eax, byte [edi + 0x6c55]
push eax
movzx eax, byte [edi + 0x6c54]
push eax
push 1
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 1
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00531230
add ebx, eax
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
jne 0x41a000
test eax, eax
je 0x41a007
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x419fc0
test ebx, ebx
jle 0x41a1c0
xor ecx, ecx
lea eax, [ebx + 0x65]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560858
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea eax, [ebx + 0x65]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560858
mov dword [ebp - 0x1c], eax
lea esi, [ebx + 0x64]
xor ecx, ecx
mov eax, esi
mov ebx, 4
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560858
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560858
mov ecx, dword [ebp - 8]
mov edx, eax
mov esi, dword [ebp - 0x18]
add esp, 0x10
mov dword [ebp - 0x24], edx
xor ebx, ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], ecx
nop dword [eax]
movzx eax, byte [edi + 0x6c55]
mov ecx, esi
push eax
movzx eax, byte [edi + 0x6c54]
push eax
push 1
push 1
lea eax, [ebp - 8]
mov byte [ebp - 1], 1
push eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x28]
push eax
push edx
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00531470
add ebx, eax
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
jne 0x41a100
test eax, eax
je 0x41a107
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x41a0a0
test ebx, ebx
jle 0x41a19b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41a12e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov esi, 0xe75
mov dword [ecx], eax
jmp 0x41a19d
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebx*2 + 2]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41a165
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov esi, 0xe76
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x41a19d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x14]
push eax
mov word [eax + ebx*2], dx
lea eax, [ebx + 1]
push eax
push ecx
call fcn.00565fee
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor esi, esi
push dword [ebp - 0x14]
call fcn.00560853
push dword [ebp - 0x1c]
call fcn.00560853
push dword [ebp - 0x20]
call fcn.00560853
push dword [ebp - 0x24]
call fcn.00560853
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc