Function at 0x4646e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x51e080]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, 0x110
je 0x464800
sub eax, 1
je 0x46471a
sub eax, 0x25
jne 0x464787
movzx edx, word [ebp + 0x10]
mov esi, 1
cmp si, dx
jne 0x464747
push edi
call fcn.004645e0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x10
mov eax, 2
cmp ax, dx
jne 0x464772
push eax
push edi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x3ee
cmp ax, dx
jne 0x464787
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4647a0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x100
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x100
push 0
push eax
mov dword [esp + 0x18], eax
call fcn.004d6ed0
add esp, 0xc
push 0x80
push dword [esp + 0x10]
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
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]
jmp 0x46494a
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0x27
push 0xc5
push 0x3ea
push edi
call esi
push 0
push 0xb
push 0xc5
push 0x3eb
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x65
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3ef
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x66
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push 0x3f0
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x67
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push 0x3f1
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x68
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push 1
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x69
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push 2
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x6a
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push 0x3ee
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x6b
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0xc]
push 0x6c
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0xc]
push 0x3f2
push edi
call esi
mov eax, dword [ebx + 0x64]
lea ecx, [esp + 0x10]
push ecx
mov eax, dword [eax + 0x4b0]
mov ecx, dword [eax + 0x118]
call fcn.0049c310
test eax, eax
jne 0x46494a
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0049c670
lea eax, [esp + 0x40]
push eax
push 0x3ea
push edi
call esi
lea eax, [esp + 0x28]
push eax
push 0x3eb
push edi
call esi
push edi
mov ecx, ebx
call fcn.004645e0
mov ecx, dword [esp + 0x94]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x10