Function at 0x403d70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub eax, 0x65
cmp eax, 0x20
ja case.default.0x403ba5
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x68c
jmp dword [eax*4 + 0x40f120]
call fcn.004070c0
mov eax, dword [0x419040]
test eax, eax
je 0x40456f
call fcn.00407100
mov dword [esp + 0xc], 0xffff0000
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call esi
sub esp, 0x10
mov ebx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x110b
mov eax, dword [0x419030]
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp], ebx
call fcn.00403770
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
ret
mov esi, dword [0x419044]
mov eax, esi
xor eax, 0x10
mov dword [0x419044], eax
cmp esi, 0x10
je 0x404630
mov dword [esp], edx
call dword [sym.imp.user32.dll_GetMenu]
mov edx, eax
mov eax, esi
sub esp, 4
shr eax, 4
mov dword [esp + 4], 0x85
xor eax, 1
mov dword [esp], edx
and eax, 1
shl eax, 3
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp case.0x403ba5.105
mov esi, dword [0x419044]
mov eax, esi
xor eax, 4
mov dword [0x419044], eax
cmp esi, 4
je 0x404640
mov dword [esp], edx
call dword [sym.imp.user32.dll_GetMenu]
mov edx, eax
mov eax, esi
sub esp, 4
shr eax, 2
mov dword [esp + 4], 0x84
xor eax, 1
mov dword [esp], edx
and eax, 1
shl eax, 3
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp case.0x403ba5.105
mov esi, dword [0x419044]
mov eax, esi
xor eax, 2
mov dword [0x419044], eax
cmp esi, 2
je 0x404618
mov dword [esp], edx
call dword [sym.imp.user32.dll_GetMenu]
mov edx, eax
mov eax, esi
sub esp, 4
shr eax, 1
mov dword [esp + 4], 0x83
xor eax, 1
mov dword [esp], edx
and eax, 1
shl eax, 3
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp case.0x403ba5.105
mov eax, dword [0x419044]
mov edx, eax
and eax, 0xfffffffe
and edx, 1
mov esi, edx
xor esi, 1
or eax, esi
mov dword [0x419044], eax
jne 0x404580
mov dword [0x419044], edx
jmp case.0x403ba5.105
mov dword [esp + 0xc], 0
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x218]
mov ecx, 0xa
sub esp, 0x10
mov edi, edx
mov esi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x204], 0x100
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov eax, dword [0x419030]
mov dword [esp], eax
call ebx
mov eax, dword [0x419020]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.user32.dll_OpenClipboard]
sub esp, 4
test eax, eax
je case.0x403ba5.105
call dword [sym.imp.user32.dll_EmptyClipboard]
test eax, eax
je case.0x403ba5.105
mov ebx, dword [ebp - 0x1f4]
test ebx, ebx
je case.0x403ba5.105
mov dword [esp + 4], 0x200
mov dword [esp], 0x42
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [ebp - 0x1f4]
sub esp, 4
lea edx, [ecx + 0x202]
sub eax, ecx
lea esi, [esi]
nop
mov ecx, edx
add edx, 2
movzx ecx, word [ecx]
mov word [edx + eax - 0x204], cx
test cx, cx
jne 0x403e50
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], 0xd
call dword [sym.imp.user32.dll_SetClipboardData]
sub esp, 8
call dword [sym.imp.user32.dll_CloseClipboard]
jmp case.0x403ba5.105
mov eax, dword [0x41902c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsWindowVisible]
sub esp, 4
test eax, eax
jne 0x4045b0
mov dword [esp + 4], 5
mov eax, dword [0x41902c]
mov esi, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x7a
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
jmp fcn.00403300
mov dword [esp], edx
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp case.0x403ba5.105
mov eax, dword [0x419028]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsWindowVisible]
sub esp, 4
test eax, eax
je 0x4045f0
mov dword [esp + 4], 0
mov eax, dword [0x419028]
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x7b
jmp 0x403edf
lea esi, [ebp - 0x218]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 0x14
mov eax, dword [0x41903c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.shell32.dll_ShellAboutW]
sub esp, 0x10
jmp case.0x403ba5.105
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4036a0
mov dword [esp + 8], edx
mov dword [esp + 4], 0x3e8
mov dword [esp], 0
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
cmp eax, 2
je case.0x403ba5.105
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call esi
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x419048
mov dword [esp], ebx
call fcn.00406460
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov eax, dword [0x419030]
mov dword [esp], eax
call esi
sub esp, 0x10
jmp case.0x403ba5.105
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call esi
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0
jmp 0x40402a
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov ebx, eax
mov dword [esp], eax
call fcn.00406c60
mov dword [esp], ebx
call fcn.00403770
mov dword [esp], ebx
call fcn.00401ec0
jmp case.0x403ba5.105
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x402ea0
mov dword [esp + 8], edx
mov dword [esp + 4], 0x3f2
mov dword [esp], 0
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp case.0x403ba5.105
mov dword [esp + 0xc], 0x100
mov esi, dword [sym.imp.user32.dll_LoadStringW]
lea edi, [ebp - 0x618]
mov dword [esp + 8], 0x419460
mov dword [esp + 4], 0x1e
mov eax, dword [0x41903c]
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0x1f
mov eax, dword [0x41903c]
mov dword [esp], eax
call esi
lea edx, [ebp - 0x418]
sub esp, 0x10
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0x20
mov eax, dword [0x41903c]
mov dword [esp], eax
call esi
lea edx, [ebp - 0x418]
lea esi, [ebp - 0x218]
sub esp, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 8], edi
lea edi, [ebp - 0x660]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], str._s_c.tlb_.olb_.dll_.ocx_.exe_c_s_c._c
mov dword [esp], esi
call dword [sym.imp.user32.dll_wsprintfW]
xor eax, eax
mov ecx, 0x12
movd xmm0, ebx
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x670]
movd xmm1, dword [0x41903c]
mov dword [ebp - 0x670], 0x58
mov dword [ebp - 0x640], 0x419460
mov dword [ebp - 0x664], esi
punpckldq xmm0, xmm1
mov dword [ebp - 0x654], 0x419260
movq qword [ebp - 0x66c], xmm0
mov dword [ebp - 0x650], 0x100
mov dword [ebp - 0x63c], 0x800004
mov dword [esp], edx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
sub esp, 4
test eax, eax
je case.0x403ba5.105
mov dword [esp + 4], 0x419260
mov eax, dword [0x41903c]
mov dword [esp], eax
call fcn.0040c830
jmp case.0x403ba5.105
lea ebx, [ebp - 0x218]
mov dword [esp + 4], 0xf7
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, ebx
sub esp, 8
cmp word [ebp - 0x218], 0
je 0x4042b9
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4042b0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str._regedit.exe]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4042c0
lea edx, [ebp - 0x414]
xor eax, eax
mov ecx, 0x10
lea esi, [ebp - 0x418]
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x418], 0x44
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je case.0x403ba5.105
mov eax, dword [ebp - 0x618]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x614]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
jmp case.0x403ba5.105
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov ebx, eax
mov dword [esp], eax
call fcn.004029c0
test eax, eax
je 0x4045d0
mov dword [esp], ebx
call fcn.00402a20
jmp case.0x403ba5.105
mov dword [esp + 0xc], 0
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov eax, dword [0x419030]
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x218]
mov ecx, 0xa
sub esp, 0x10
mov edi, edx
mov esi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x204], 0x100
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov eax, dword [0x419030]
mov dword [esp], eax
call ebx
mov eax, dword [0x419020]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.user32.dll_OpenClipboard]
sub esp, 4
test eax, eax
je case.0x403ba5.105
call dword [sym.imp.user32.dll_EmptyClipboard]
test eax, eax
je case.0x403ba5.105
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je case.0x403ba5.105
mov dword [esp + 4], 0x200
mov dword [esp], 0x42
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edx, dword [ebp - 0x1f4]
sub esp, 4
mov ecx, eax
cmp word [edx + 0x202], 0
lea edi, [edx + 0x202]
mov eax, edi
je 0x4044b1
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4044a8
sub eax, edi
xor edi, edi
mov ebx, eax
sar ebx, 1
add ebx, 0xff
mov word [edx + ebx*2 + 2], di
add edx, 0x204
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str._object_n___classid_clsid:_s__n__n__object_
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, dword [ebp - 0x1f4]
mov edx, 0x7d
mov word [eax + ebx*2 + 2], dx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], 0xd
call dword [sym.imp.user32.dll_SetClipboardData]
sub esp, 8
call dword [sym.imp.user32.dll_CloseClipboard]
jmp case.0x403ba5.105
mov edx, dword [0x419040]
xor eax, eax
test edx, edx
sete al
mov esi, eax
mov dword [0x419040], esi
shl esi, 3
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x78
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
call fcn.004070c0
mov ecx, dword [0x419040]
test ecx, ecx
jne 0x403bc2
call fcn.00407130
jmp 0x403bc7
mov dword [esp], ebx
shl esi, 3
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x82
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp case.0x403ba5.105
mov dword [esp + 4], 0
mov eax, dword [0x41902c]
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x403ec7
mov dword [esp + 4], 0
mov eax, dword [0x41903c]
mov dword [esp], eax
call fcn.0040c830
jmp case.0x403ba5.105
mov dword [esp + 4], 5
mov eax, dword [0x419028]
mov esi, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x403f4c
mov dword [0x419044], 2
jmp case.0x403ba5.105
mov dword [0x419044], 0x10
jmp case.0x403ba5.105
mov dword [0x419044], 4
jmp case.0x403ba5.105