Function at 0x401280
Capabilities:
Copy file
Create process on windows
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x402881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb40
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.ZwWow64ReadVirtualMemory64
push 0x404348
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jbe 0x4012c8
mov dword [esp + 0x28], 1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x350]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x350]
mov dword [esp + 0xb58], ebp
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb5c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 0
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x750]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x750]
push edx
push 0x400
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x750]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0xb5c], 2
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb5c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0xb58], 4
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x145]
mov byte [esp + 0x144], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x144]
push 0x104
push ecx
push ebp
mov byte [esp + 0xb64], 5
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x144]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push 0x404338
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x30], ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 6
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401461
push 1
push 0x404308
push 0x404184
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x402201
lea edx, [esp + 0x1c]
push str._asycfilt.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 7
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4014d6
lea edx, [esp + 0x18]
push str._asycfilt.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x81
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str.COMCAT.DLL
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 8
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40154b
lea edx, [esp + 0x18]
push str.COMCAT.DLL
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x82
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str.msvbvm60.dll
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 9
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4015c0
lea edx, [esp + 0x18]
push str.msvbvm60.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x84
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push 0x404144
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0xa
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401635
lea edx, [esp + 0x18]
push 0x404144
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x85
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str._scrrun.dll
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0xb
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4016aa
lea edx, [esp + 0x18]
push str._scrrun.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x88
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str._scrrnchs.dll
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0xc
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40171f
lea edx, [esp + 0x18]
push str._scrrnchs.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x8b
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str.VB6CHS.DLL
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0xd
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401794
lea edx, [esp + 0x18]
push str.VB6CHS.DLL
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x8c
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str._stdole2.tlb
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0xe
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401809
lea edx, [esp + 0x18]
push str._stdole2.tlb
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x8d
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str.MSCMCCHS.DLL
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0xf
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40187e
lea edx, [esp + 0x18]
push str.MSCMCCHS.DLL
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x8f
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str.CMDLGCHS.DLL
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x10
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4018f3
lea edx, [esp + 0x18]
push str.CMDLGCHS.DLL
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x91
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push 0x4040e0
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x11
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401968
lea edx, [esp + 0x18]
push 0x4040e0
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x1d3
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str._version.dll
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x12
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4019dd
lea edx, [esp + 0x18]
push str._version.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x20e
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str.psapi.dll
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x13
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401a52
lea edx, [esp + 0x18]
push str.psapi.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x268
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push str._rundll32.exe
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x14
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401ac7
lea edx, [esp + 0x18]
push str._rundll32.exe
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x257
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push 0x4040a4
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x15
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401b3c
lea edx, [esp + 0x18]
push 0x4040a4
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x213
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push 0x404098
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0xb60], 0x16
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401bb1
lea edx, [esp + 0x18]
push 0x404098
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
push str.SimType
push 0x275
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 0x404088
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x17
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x401c08
mov edx, dword [esp + 0x14]
push edx
jmp 0x401c3d
cmp dword [esp + 0x38], 0x2ee48
jne 0x401c2c
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.00402290
test eax, eax
je 0x401c54
mov edx, dword [esp + 0x14]
push 0x80
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
push str.SimType
push 0x93
call fcn.004010b0
add esp, 0xc
mov ebp, 1
lea ecx, [esp + 0x18]
push 0x404078
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x18
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x401cb5
mov edx, dword [esp + 0x14]
push edx
push str.SimType
push 0x94
call fcn.004010b0
add esp, 0xc
lea eax, [esp + 0x18]
push str.URLHIST.tlb
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x19
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x401d16
mov ecx, dword [esp + 0x14]
push ecx
push str.SimType
push 0x95
call fcn.004010b0
add esp, 0xc
mov eax, dword [esp + 0x28]
push 0x404338
test eax, eax
je 0x401e40
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x1a
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x401d88
mov eax, dword [esp + 0x14]
push eax
push str.SimType
push 0x1d0
call fcn.004010b0
add esp, 0xc
jmp 0x401f55
cmp dword [esp + 0x38], 0x2bee8
jne 0x401db0
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.00402290
test eax, eax
je 0x401f55
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00401160
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb5c], 0x1b
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0x80
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
push str.SimType
push 0x1d0
call fcn.004010b0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00401160
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.msvcrt.dll__mbscmp]
add esp, 0x1c
lea ecx, [esp + 0x10]
test eax, eax
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401f55
jmp 0x401f50
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x1c
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x401ea1
mov ecx, dword [esp + 0x14]
push ecx
push str.SimType
push 0x137
call fcn.004010b0
add esp, 0xc
jmp 0x401f55
cmp dword [esp + 0x38], 0x20ce8
jne 0x401ec9
mov edx, dword [esp + 0x30]
push ecx
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], esp
mov dword [eax], edx
call fcn.00402290
test eax, eax
je 0x401f55
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00401160
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb5c], 0x1d
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push 0x80
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
push str.SimType
push 0x137
call fcn.004010b0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00401160
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__mbscmp]
add esp, 0x1c
lea ecx, [esp + 0x10]
test eax, eax
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401f55
mov ebp, 1
lea edx, [esp + 0x18]
push str._reparsectrl.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x1e
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
mov edi, 0x92de0
je 0x401fd0
cmp dword [esp + 0x38], edi
jne 0x401fc4
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.00402290
test eax, eax
je 0x401fe7
mov edx, dword [esp + 0x14]
push 0x80
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
push str.SimType
push 0x11a
call fcn.004010b0
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x404044
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x1f
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x402048
mov edx, dword [esp + 0x14]
push edx
push str.SimType
push 0x1d1
call fcn.004010b0
add esp, 0xc
lea eax, [esp + 0x18]
push 0x404038
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x20
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x4020be
cmp dword [esp + 0x38], edi
jne 0x4020b2
mov edx, dword [esp + 0x30]
push ecx
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], esp
mov dword [eax], edx
call fcn.00402290
test eax, eax
je 0x4020d5
mov eax, dword [esp + 0x14]
push 0x80
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
push str.SimType
push 0x267
call fcn.004010b0
add esp, 0xc
lea edx, [esp + 0x18]
push 0x404028
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x21
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x40214f
cmp dword [esp + 0x38], 0x19aa3
jne 0x402143
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.00402290
test eax, eax
je 0x402166
mov edx, dword [esp + 0x14]
push 0x80
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
push str.SimType
push 0x296
call fcn.004010b0
add esp, 0xc
test ebp, ebp
je 0x4021af
lea ecx, [esp + 0x248]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
push str.msrmins.dll
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 1
lea ecx, [esp + 0x24c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push 0x404088
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb5c], 0x22
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xb58], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 5
push 0
push ecx
push edx
push 0x404010
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb58], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xb58], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xb58], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4c
ret