Function at 0x450660
Capabilities:
Enumerate process modules
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4776f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x254], 0
call sub.MFC42.DLL_CString::CString_3
push 0
mov byte [esp + 0x258], 1
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, dword [ebp + 0x60]
lea eax, [ebp + 0x60]
test ecx, ecx
je 0x4506eb
push 0x4dc1a8
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 2
call fcn.0041e5a2
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x64]
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
mov eax, dword [edx]
push eax
push str.Type__0x_X
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 3
call fcn.0041e5a2
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x64]
mov eax, dword [edx]
lea edx, [esp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
push str.Address__0x_X
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0x4dc1a8
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x14]
mov byte [esp + 0x254], 4
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 5
call fcn.0041e5a2
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x64]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0xa8]
mov ecx, dword [eax + 0xac]
push edx
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0xb0]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push str._r_nRegisters:_r_nEAX_08X_EBX_08X_ECX_08X_EDX_08X
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x18
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push 0x4dc1a8
push edx
push eax
call sub.MFC42.DLL_operator_1
mov bl, 6
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x260], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 7
call fcn.0041e5a2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x64]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xc4]
push ecx
mov ecx, dword [eax + 0x9c]
push edx
mov edx, dword [eax + 0xa0]
push ecx
push edx
lea eax, [esp + 0x24]
push str.ESI_08X_EDI_08X_ESP_08X_EBP_08X
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push 0x4dc1a8
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ebx, 8
push eax
push edx
mov byte [esp + 0x260], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 9
call fcn.0041e5a2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, 0x88
lea edi, [esp + 0x2c]
push eax
rep stosd dword es:[edi], eax
push ebx
mov dword [esp + 0x30], 0x224
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push str._r_n_r_nCurrent_Modules:
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xa
call fcn.0041e5a2
mov byte [esp + 0x254], 1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x28]
push edx
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x450ace
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
ja 0x4509a3
mov edx, dword [esp + 0x40]
add edx, eax
cmp edx, ecx
jb 0x4509a3
lea eax, [esp + 0x10]
push str._r_n_
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xb
call fcn.0041e5a2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x48]
push ecx
add ecx, eax
push ecx
push eax
push edx
lea eax, [esp + 0x24]
push str.Name___s__Base__0x_X__Top__0x_X__Size___d
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push 0x4dc1a8
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x260], 0xc
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xd
call fcn.0041e5a2
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x70]
test eax, eax
jne 0x450a73
mov eax, dword [ebp + 0x80]
push 0x22c
lea ecx, [ebp + 0x7c]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebp + 0x80]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
lea edx, [edx + edx*2]
lea edx, [ecx + edx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x228]
jl 0x450a73
inc ecx
mov edx, dword [ebp + 0x78]
mov dword [eax], edx
mov dword [ebp + 0x78], eax
sub eax, 0x22c
dec ecx
jne 0x450a63
mov edx, dword [ebp + 0x78]
mov ecx, 0x89
mov eax, dword [edx]
lea ebx, [edx + 8]
mov dword [ebp + 0x78], eax
mov dword [edx + 4], esi
mov dword [edx], 0
mov esi, dword [ebp + 0x74]
inc esi
xor eax, eax
mov edi, ebx
mov dword [ebp + 0x74], esi
rep stosd dword es:[edi], eax
mov ecx, 0x89
lea esi, [esp + 0x28]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x450ab1
mov dword [eax], edx
jmp 0x450ab4
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x45094e
mov eax, dword [ebp + 0x64]
lea edx, [esp + 0x10]
push str._r_n_r_nCode_Before:_r_n
push edx
mov ecx, dword [eax]
lea eax, [esp + 0x28]
push eax
mov edi, dword [ecx + 0xc]
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xe
call fcn.0041e5a2
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov esi, 0xffffffec
xor ecx, ecx
lea edx, [esp + 0x14]
mov cl, byte [esi + edi]
push ecx
push str._02X
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
inc esi
js 0x450b12
lea ecx, [esp + 0x10]
push str._r_nCurrent_Code:_r_n
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xf
call fcn.0041e5a2
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
xor esi, esi
xor eax, eax
lea ecx, [esp + 0x14]
mov al, byte [esi + edi]
push eax
push str._02X
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
inc esi
cmp esi, 0x14
jl 0x450b74
lea eax, [esp + 0x10]
push str._r_n_r_nCall_Stack:_r_n
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0x10
call fcn.0041e5a2
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00450470
mov eax, dword [ebp + 0x64]
lea edx, [esp + 0x10]
push str._r_nCurrent_Stack:_r_n
push edx
mov ecx, dword [eax + 4]
lea eax, [esp + 0x28]
push eax
mov esi, dword [ecx + 0xc4]
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0x11
call fcn.0041e5a2
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov edi, 0x64
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push ecx
push esi
push str.__08X____08X_r_n
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
add esi, 4
dec edi
jne 0x450c2b
mov ecx, dword [esp + 0x10]
push ecx
push 0x64c3
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x450cd3
mov esi, dword [esp + 0x10]
mov edi, eax
push ebx
mov ecx, dword [esi - 8]
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 ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 8]
mov byte [ecx + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret