Function at 0x40a337
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
mov dword [ebp - 0x3c], pe_nt_image_headers32
mov dword [ebp - 0x14], 0x3b
mov dword [ebp - 0x20], 0xd4
mov dword [ebp - 0x10], 0x31
mov dword [ebp - 0x1c], 0xc7
mov dword [ebp - 0x24], 0xe0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jmp 0x40a37c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jae 0x40a54b
mov dword [ebp - 0x70], 1
push fcn.004135f7
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040bb57
add esp, 0xc
mov esi, eax
push fcn.0040bb57
mov edx, dword [0x41a0ec]
push edx
call fcn.0040e947
add esp, 8
cmp esi, eax
je 0x40a3c7
mov dword [ebp - 0x2c], 1
jmp 0x40a3ce
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x40a41f
push fcn.004135f7
mov eax, dword [0x41a104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040bb57
add esp, 0xc
mov esi, eax
mov edx, dword [0x41a0bc]
push edx
call fcn.0040f907
add esp, 4
cmp esi, eax
jbe 0x40a409
mov dword [ebp - 0x30], 1
jmp 0x40a410
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x40a41f
mov dword [ebp - 0x34], 0
jmp 0x40a426
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x68]
xor eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
imul ecx, dword [0x41a0d0]
cmp ecx, dword [ebp - 0x1c]
je 0x40a447
mov dword [ebp - 0x38], 1
jmp 0x40a44e
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jne 0x40a46c
mov eax, dword [0x41a0dc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [0x41a0e0], eax
jmp 0x40a38f
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x68], edx
mov eax, dword [0x41a0d0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, 0xd
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xab
ja case.0x40a4a0.1
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x40a8eb]
jmp dword [eax*4 + 0x40a8d3]
mov dword [ebp - 0x7c], 0x45
mov ecx, dword [ebp - 0xc]
and ecx, dword [0x41a0fc]
mov dword [0x41a0dc], ecx
jmp 0x40a546
mov dword [ebp - 0x6c], 0xdd
mov dword [ebp - 0x80], 0xb2
mov edx, dword [ebp - 0x6c]
mov dword [0x41a108], edx
mov eax, dword [0x41a108]
mov dword [0x41a0dc], eax
jmp 0x40a546
mov dword [ebp - 0x84], 0xef
mov ecx, dword [0x41a0d8]
push ecx
call fcn.0040f477
add esp, 4
jmp 0x40a546
mov dword [ebp - 0x88], 0xad
mov edx, dword [0x41a0d0]
push edx
call fcn.004135f7
add esp, 4
jmp 0x40a546
mov dword [ebp - 0x8c], 0xf9
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41a0dc], eax
jmp 0x40a546
mov edx, dword [ebp - 0x28]
add edx, dword [str.a6_b_]
mov dword [ebp - 0x70], edx
jmp 0x40a373
mov eax, dword [0x41a0e0]
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [0x41a0c8], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x40a57c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x41a0ec]
jae 0x40a8be
mov dword [ebp - 0x90], 0xdd
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test eax, eax
je 0x40a5ba
mov eax, dword [ebp - 0x3c]
and eax, dword [0x41a100]
mov dword [ebp - 0x24], eax
je 0x40a5ba
mov dword [ebp - 0x40], 1
jmp 0x40a5c1
mov dword [ebp - 0x40], 0
mov ecx, dword [str.a6_b_]
add ecx, dword [0x41a0e8]
jne 0x40a5f0
push fcn.004135f7
mov edx, dword [ebp - 0x94]
push edx
call fcn.00409b27
add esp, 8
test eax, eax
jne 0x40a5f0
mov dword [ebp - 0x44], 0
jmp 0x40a5f7
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x40a608
mov dword [ebp - 0x48], 1
jmp 0x40a60f
mov dword [ebp - 0x48], 0
push fcn.0040a997
mov ecx, dword [0x41a100]
push ecx
call fcn.0040e947
add esp, 8
mov esi, eax
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [0x41a0e0]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
cmp esi, eax
je 0x40a642
mov dword [ebp - 0x4c], 1
jmp 0x40a649
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x4c]
jae 0x40a65a
mov dword [ebp - 0x50], 1
jmp 0x40a661
mov dword [ebp - 0x50], 0
mov esi, dword [0x41a0c4]
xor esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp esi, eax
jne 0x40a681
mov dword [ebp - 0x54], 1
jmp 0x40a688
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
je 0x40a6ab
mov dword [ebp - 0x98], 0xca
mov ecx, dword [str.a6_b_]
sub ecx, dword [0x41a0bc]
mov dword [ebp - 0x20], ecx
jmp 0x40a6ce
mov dword [ebp - 0x9c], 0x9e
mov dword [ebp - 0xa0], 0x92
mov edx, dword [0x41a0f0]
push edx
call fcn.004135f7
add esp, 4
mov eax, dword [0x41a0d0]
push eax
mov ecx, dword [0x41a0e0]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov esi, eax
mov edx, dword [0x41a0dc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp esi, eax
jbe 0x40a752
mov dword [ebp - 0xa4], 0xac
mov dword [ebp - 0x78], 0xfb
mov ecx, dword [0x41a0e0]
push ecx
mov edx, dword [0x41a0e0]
push edx
mov eax, dword [0x41a0f4]
push eax
mov ecx, dword [0x41a0c4]
push ecx
mov edx, dword [0x41a100]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x41a0dc]
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [0x41a100], eax
mov edx, dword [ebp - 0x78]
or edx, dword [0x41a0cc]
mov dword [ebp - 0xa8], edx
jmp 0x40a795
mov dword [ebp - 0xac], 0x2e
mov dword [ebp - 0xb0], 0xa0
mov eax, dword [ebp + 0xc]
imul eax, dword [0x41a0e8]
mov dword [0x41a108], eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x41a0f0], eax
push fcn.0040bb57
mov edx, dword [ebp - 0x10]
push edx
call fcn.0040e947
add esp, 8
mov eax, dword [str.a6_b_]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp + 0x10], eax
mov eax, dword [0x41a0d8]
xor edx, edx
div dword [ebp + 0x10]
mov dword [0x41a0e0], eax
mov edx, dword [0x41a108]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_PolylineTo]
cmp dword [0x41a0e0], eax
jbe 0x40a7dd
mov dword [ebp - 0x58], 1
jmp 0x40a7e4
mov dword [ebp - 0x58], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov ecx, dword [0x41a0c8]
push ecx
call fcn.004135f7
add esp, 4
cmp esi, eax
jne 0x40a810
mov dword [ebp - 0x5c], 1
jmp 0x40a817
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x5c]
jbe 0x40a828
mov dword [ebp - 0x60], 1
jmp 0x40a82f
mov dword [ebp - 0x60], 0
mov eax, dword [0x41a0bc]
xor edx, edx
div dword [0x41a0bc]
mov dword [0x41a0c4], eax
mov eax, dword [0x41a0dc]
xor eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov ecx, dword [0x41a0c4]
cmp ecx, dword [ebp + 8]
jne 0x40a860
mov dword [ebp - 0x64], 1
jmp 0x40a867
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x64]
jbe 0x40a8b9
mov dword [ebp - 0xb4], 0x77
mov eax, dword [0x41a108]
push eax
mov ecx, dword [0x41a0d0]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp - 0x14], eax
push fcn.0040f477
mov edx, dword [0x41a0e0]
push edx
call fcn.0040d977
add esp, 8
push fcn.0040f907
mov eax, dword [ebp - 0x14]
push eax
call fcn.00409b27
add esp, 8
jmp 0x40a7a8
jmp 0x40a573
mov ecx, dword [str.a6_b_]
push ecx
call dword [ebp + 0x10]
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret