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

Disassembly:
push 0xffffffffffffffff
push 0x5bd5f6
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 + 0x64]
lea eax, [ebp + 0x64]
test ecx, ecx
je 0x4d9bab
push 0x64fef8
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 2
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x18c]
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_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 3
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x18c]
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 0x64fef8
push eax
push ecx
call sub.MFC42.DLL_operator_3
lea edx, [esp + 0x14]
mov byte [esp + 0x254], 4
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 5
call sub.MFC42.DLL_CString::operator_3
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 + 0x18c]
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 0x64fef8
push edx
push eax
call sub.MFC42.DLL_operator_3
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_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 7
call sub.MFC42.DLL_CString::operator_3
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 + 0x18c]
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 0x64fef8
push ecx
push edx
call sub.MFC42.DLL_operator_3
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_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 9
call sub.MFC42.DLL_CString::operator_3
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_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xa
call sub.MFC42.DLL_CString::operator_3
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 0x4d9fc1
mov eax, dword [ebp + 0x18c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
ja 0x4d9e72
mov edx, dword [esp + 0x40]
add edx, eax
cmp edx, ecx
jb 0x4d9e72
lea eax, [esp + 0x10]
push str._r_n_
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xb
call sub.MFC42.DLL_CString::operator_3
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 0x64fef8
push ecx
push edx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x260], 0xc
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xd
call sub.MFC42.DLL_CString::operator_3
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 + 0x1a0]
mov esi, dword [ebp + 0x198]
test eax, eax
jne 0x4d9f51
mov eax, dword [ebp + 0x1a8]
push 0x22c
lea ecx, [ebp + 0x1a4]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebp + 0x1a8]
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 0x4d9f51
inc ecx
mov edx, dword [ebp + 0x1a0]
mov dword [eax], edx
mov dword [ebp + 0x1a0], eax
sub eax, 0x22c
dec ecx
jne 0x4d9f3b
mov edx, dword [ebp + 0x1a0]
mov ecx, 0x89
mov eax, dword [edx]
lea ebx, [edx + 8]
mov dword [ebp + 0x1a0], eax
mov dword [edx + 4], esi
mov dword [edx], 0
mov esi, dword [ebp + 0x19c]
inc esi
xor eax, eax
mov edi, ebx
mov dword [ebp + 0x19c], 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 + 0x198]
test eax, eax
je 0x4d9f9e
mov dword [eax], edx
jmp 0x4d9fa4
mov dword [ebp + 0x194], edx
mov dword [ebp + 0x198], edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4d9e1a
mov eax, dword [ebp + 0x18c]
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_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xe
call sub.MFC42.DLL_CString::operator_3
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 0x4da008
lea ecx, [esp + 0x10]
push str._r_nCurrent_Code:_r_n
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0xf
call sub.MFC42.DLL_CString::operator_3
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 0x4da06a
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_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0x10
call sub.MFC42.DLL_CString::operator_3
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.004d9920
mov eax, dword [ebp + 0x18c]
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_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 0x11
call sub.MFC42.DLL_CString::operator_3
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 0x4da124
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 0x4da1cc
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