Function at 0x4474a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cac3b
push eax
mov eax, 0x3b2c
mov dword fs:[0], esp
call fcn.00495c50
mov eax, dword [ebp + 8]
push ebx
and eax, 0xffff
mov ebx, ecx
push esi
cmp eax, 0xb7
push edi
mov dword [ebp - 0x10], ebx
jg 0x447620
je 0x447504
test eax, eax
jle 0x4477da
cmp eax, 2
jg 0x4477da
mov eax, dword [ebx + 0x1060]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4477da
mov edx, dword [ebx + 0x1060]
xor esi, esi
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1058]
push 0x823
push ecx
push 0xb6
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [eax + eax + 1]
add esp, 4
test ecx, ecx
jle 0x44760c
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44760c
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [ebp - 0x1058]
test edx, edx
je 0x4475b2
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00495c50
mov esi, esp
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x1058]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
inc ebx
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebx
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x1060]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4477da
cmp eax, 0x434
jne 0x4477da
mov edx, dword [ebx + 0x1060]
xor esi, esi
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x3b36]
mov word [ebp - 0x3b38], si
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x3b38]
push 0x823
push ecx
push 0xb6
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp + 8], esi
cmp eax, esi
je 0x4476b7
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1058]
push eax
push 0x4de3ac
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edx, dword [ebp + 8]
add esp, 0x10
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call fcn.00417180
mov ecx, dword [eax + 4]
lea esi, [eax + 0x18]
mov dword [ebp - 0x2aec], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2ae4], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2ae0], ecx
mov edx, dword [eax + 0x14]
mov ecx, 0x41
lea edi, [ebp - 0x2ad8]
mov dword [ebp - 0x2adc], edx
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x11c]
mov ecx, 0x41
lea edi, [ebp - 0x29d4]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x220]
mov ecx, 0x209
lea edi, [ebp - 0x28d0]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0xa44]
mov ecx, 0x209
lea edi, [ebp - 0x20ac]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x1268]
mov ecx, 0x209
lea edi, [ebp - 0x1888]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1a8c]
mov dword [ebp - 0x2ae8], 0x4cf540
mov dword [ebp - 0x1064], ecx
mov edx, dword [eax + 0x1a90]
mov dword [ebp - 0x1060], edx
mov eax, dword [eax + 0x1a94]
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x2af0], 0x4cefd8
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x2af0]
call fcn.00417a00
mov edx, dword [ebx + 0xc]
push 1
push 1
push edx
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x1058]
push 0
lea ecx, [ebp - 0x3b38]
push eax
push ecx
lea ecx, [ebp - 0x2af0]
call fcn.004176a0
mov edx, dword [ebx + 0x1060]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x2af0]
mov dword [ebp - 4], 0xffffffff
call fcn.00417150
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x3b44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8