Function at 0x48c120
Capabilities:
Create process on windows
Create process suspended
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4bcfec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
push ebp
mov ebp, dword [esp + 0x340]
push esi
push edi
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp]
lea ecx, [esp + 0x218]
push ecx
push eax
mov dword [esp + 0x348], 0
call fcn.00472b40
test eax, eax
jne 0x48c18e
mov edx, dword [ebp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x48c18e
mov ecx, ebp
call fcn.0047d190
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x74]
mov esi, 1
cmp eax, esi
je 0x48d4d2
cmp eax, 2
jne 0x48cacd
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x48c51c
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Mid
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 1
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x10]
push 0x49
push ecx
call fcn.004749a0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 3
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e6998
push edx
mov byte [esp + 0x348], 4
mov dword [esp + 0x30], esi
call edi
add esp, 8
test eax, eax
je 0x48c4d8
push 0x4e2088
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48c35a
test esi, esi
je 0x48c4d8
cmp esi, 0xffffffff
je 0x48c4d8
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
je 0x48c4d8
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x344], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
inc esi
lea edx, [esp + 0x40]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e068c
push eax
call edi
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x48c34d
push 0x4e2088
lea ecx, [esp + 0x20]
call fcn.004ac20a
lea ecx, [esp + 0x4c]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
jmp 0x48c4c1
mov dword [esp + 0x28], 0
jmp 0x48c4c1
test esi, esi
je 0x48c4d8
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
je 0x48c4d8
cmp esi, 0xffffffff
je 0x48c3de
lea eax, [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x344], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x48]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
jmp 0x48c3fa
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x4e6998
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x34]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e068c
push eax
call edi
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x48c47d
push 0x4e2088
lea ecx, [esp + 0x28]
call fcn.004ac20a
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call edi
add esp, 8
test eax, eax
jne 0x48c4c1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x48c6b1
push 0x4e6998
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
push 0x4e6998
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov dword [esp + 0x28], 1
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call edi
add esp, 8
test eax, eax
jne 0x48c236
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
push 0x104
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
mov ecx, 0x41
xor eax, eax
mov edi, ebp
push ebp
rep stosd dword es:[edi], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x48c8f9
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov bl, 0x11
push 0x4e068c
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], bl
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x48c5e2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push 0x4e0950
push edx
call sub.MFC42.DLL_operator
push 0x4e0950
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x348], 0x12
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x10
xor eax, eax
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov dword [esp + 0x70], 0x44
mov eax, dword [edx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x20]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push str.notepad.exe___s_
push edx
mov byte [esp + 0x34c], 0x14
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [esp + 0x70]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
jmp 0x48d4f0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
push 0x4e068c
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xb
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x48c735
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push 0x4e0950
push ecx
call sub.MFC42.DLL_operator
push 0x4e0950
lea edx, [esp + 0x24]
mov bl, 0xc
push eax
push edx
mov byte [esp + 0x34c], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], 0xb
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push 0x4e068c
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator_3
lea edx, [esp + 0x14]
mov bl, 0xe
push edx
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x348], bl
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], 0x44
mov eax, dword [ecx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x2c]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x50]
mov edx, ecx
mov esi, edi
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x48c821
mov edx, dword [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x50]
push eax
call esi
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x48c87c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x38]
push 0x86e
push eax
mov byte [esp + 0x350], 0x10
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x40]
add esp, 0x10
push 0
push 0x30
push ecx
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0xb
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebp + 0x68]
add esp, 4
push edx
call esi
test ebp, ebp
je 0x48c89f
mov ecx, ebp
call fcn.0047d190
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x340], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
jmp 0x48d4f0
mov eax, dword [esp + 0x14]
xor edi, edi
mov esi, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48c929
test cl, cl
je 0x48c925
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48c929
add eax, 2
add esi, 2
test cl, cl
jne 0x48c901
xor eax, eax
jmp 0x48c92e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48c937
mov edi, 1
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov bl, 0x15
push 0x4e068c
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], bl
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x48c9c4
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push 0x4e0950
push ecx
call sub.MFC42.DLL_operator
push 0x4e0950
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x34c], 0x16
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator_1
test edi, edi
je 0x48ca95
mov edx, dword [esp + 0x2c]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov dword [esp + 0x70], 0x44
mov eax, dword [edx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x30]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push str.notepad.exe___s_
push edx
mov byte [esp + 0x34c], 0x18
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea eax, [esp + 0x60]
lea ecx, [esp + 0x70]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
jmp 0x48cab0
mov edx, dword [esp + 0x2c]
push 5
push 0
push edx
push str.notepad.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x348]
jmp 0x48d4d2
cmp eax, 4
jne 0x48d4d2
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x48ce4b
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::Mid
lea ecx, [esp + 0x28]
mov byte [esp + 0x340], 0x19
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x10]
push 0x49
push ecx
call fcn.004749a0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 0x1a
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e6998
push edx
mov byte [esp + 0x348], 0x1c
mov dword [esp + 0x20], esi
call edi
add esp, 8
test eax, eax
je 0x48ce07
push 0x4e2088
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48cc89
test esi, esi
je 0x48ce07
cmp esi, 0xffffffff
je 0x48ce07
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
je 0x48ce07
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x344], 0x1d
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
inc esi
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 0x1e
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x48]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e068c
push eax
call edi
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x48cc7c
push 0x4e2088
lea ecx, [esp + 0x20]
call fcn.004ac20a
lea ecx, [esp + 0x44]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 0x1f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
jmp 0x48cdf0
mov dword [esp + 0x18], 0
jmp 0x48cdf0
test esi, esi
je 0x48ce07
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
je 0x48ce07
cmp esi, 0xffffffff
je 0x48cd0d
lea eax, [esp + 0x4c]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x344], 0x20
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x4c]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 0x21
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
jmp 0x48cd29
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x4e6998
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x2c]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e068c
push eax
call edi
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x48cdac
push 0x4e2088
lea ecx, [esp + 0x28]
call fcn.004ac20a
lea ecx, [esp + 0x38]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 0x22
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call edi
add esp, 8
test eax, eax
jne 0x48cdf0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x48d0d7
push 0x4e6998
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
push 0x4e6998
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call edi
add esp, 8
test eax, eax
jne 0x48cb65
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
push 0x4e068c
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x29
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x48cecf
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push 0x4e0950
push eax
call sub.MFC42.DLL_operator
push 0x4e0950
lea ecx, [esp + 0x3c]
mov bl, 0x2a
push eax
push ecx
mov byte [esp + 0x34c], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x2b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0x29
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb4], 0x44
mov eax, dword [ecx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x34]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push eax
push str.notepad.exe__s
push ecx
mov byte [esp + 0x34c], 0x2c
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea edx, [esp + 0x60]
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x40]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x48d476
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push ecx
call esi
mov edx, dword [esp + 0x60]
push edx
call esi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x21
push 0x4e2640
push 0x4e5fc4
mov esi, dword [eax + 0x20]
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 1
jne 0x48d46a
push 0x5c
mov ecx, ebp
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
cmp edi, 0xffffffff
je 0x48d4b0
lea eax, [edi + 1]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::Mid
lea edx, [esp + 0x18]
mov bl, 0x2d
push edi
push edx
mov ecx, ebp
mov byte [esp + 0x348], bl
call sub.MFC42.DLL_CString::Left
push 1
push 0
push ecx
mov byte [esp + 0x34c], 0x2e
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4e6998
call fcn.004ac198
push ecx
mov byte [esp + 0x350], 0x2f
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4e6998
call fcn.004ac198
lea eax, [ebp + 8]
push 1
push eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x360], 0x30
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x360], 0x31
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x4e6998
call fcn.004ac198
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x368], 0x32
call sub.MFC42.DLL_CString::CString_1
push 0
mov ecx, esi
mov byte [esp + 0x368], 0x2e
call fcn.00461a10
push 2
mov ecx, esi
call fcn.00464300
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x340], 0x2c
lea ecx, [esp + 0x28]
jmp 0x48d4ab
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
push 0x4e068c
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x23
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x48d15b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push 0x4e0950
push ecx
call sub.MFC42.DLL_operator
push 0x4e0950
lea edx, [esp + 0x3c]
mov bl, 0x24
push eax
push edx
mov byte [esp + 0x34c], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x25
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0x23
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push 0x4e068c
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_3
lea edx, [esp + 0x14]
mov bl, 0x26
push edx
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x348], bl
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0x27
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x340], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0x23
call sub.MFC42.DLL_CString::CString
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x70], 0x44
mov eax, dword [ecx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x30]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x50]
mov edx, ecx
mov esi, edi
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x48d392
mov edx, dword [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
push 0xffffffffffffffff
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48d254
cmp eax, 0x81
jne 0x48d389
mov eax, dword [ebp]
lea ecx, [esp + 0xf8]
push ecx
push eax
call fcn.00472b40
test eax, eax
je 0x48d37f
mov edx, dword [esp + 0x21c]
push ecx
mov eax, esp
lea ecx, [esp + 0x100]
mov dword [esp + 0x3c], esp
mov dword [eax], edx
call fcn.00424ec0
test eax, eax
jne 0x48d2c7
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x228]
cmp eax, ecx
jne 0x48d2c7
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x22c]
cmp ecx, eax
jne 0x48d2c7
mov dl, byte [esp + 0x110]
mov al, byte [esp + 0x230]
cmp dl, al
je 0x48d37f
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 0x68]
add esp, 4
push eax
call esi
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x48d2e8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x48d2ea
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push ebp
push 0x8000
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
jne 0x48d31e
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
je 0x48d31e
mov ecx, ebp
call fcn.0047d190
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x50]
push ecx
call esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
jmp 0x48d4f0
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x50]
push edx
call esi
jmp 0x48d3ed
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x86e
push edx
mov byte [esp + 0x350], 0x28
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0
push 0x30
push eax
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 0x23
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0x68]
add esp, 4
push ecx
call esi
test ebp, ebp
je 0x48d410
mov ecx, ebp
call fcn.0047d190
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x340], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x340], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
jmp 0x48d4f0
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x48d4b0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x3c]
push 0
push 0x30
push ecx
mov byte [esp + 0x34c], 0x33
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x340], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x340], 0x29
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x48d4f0
mov ecx, ebp
call fcn.0047d190
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x334
ret 4