Function at 0x4026b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x405ae1
push eax
mov dword fs:[0], esp
sub esp, 0x528
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call sub.MFC42.DLL_AfxEnableControlContainer
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x330]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x32c]
push 0x104
push eax
push ebx
call esi
lea ecx, [esp + 0x32c]
push str.r210
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
cmp eax, ebx
jne 0x40272b
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push ebp
lea edx, [esp + 0x434]
push 0x104
push edx
push ebx
call esi
lea eax, [esp + 0x434]
lea ecx, [esp + 0x14]
push eax
call fcn.00405098
push 0x2e
lea ecx, [esp + 0x18]
mov dword [esp + 0x544], ebx
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
inc ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x544], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x540], bl
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
sub ecx, 3
push ecx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x544], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x540], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
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 + 0x24]
mov byte [esp + 0x22], 0x30
push ecx
mov byte [esp + 0x27], bl
mov byte [esp + 0x24], 0x29
mov byte [esp + 0x25], bl
call ebp
add esp, 4
cmp eax, 1
jge 0x402858
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea edx, [esp + 0x22]
lea eax, [esp + 0x24]
push edx
push eax
call esi
test eax, eax
je 0x402858
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
call esi
test eax, eax
jne 0x402a7e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x22d]
mov byte [esp + 0x22c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SHGetSpecialFolderPathA
push str.shell32.dll
mov byte [0x425a4d], 0xbf
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
lea ecx, [esp + 0x230]
push 0x1a
push ecx
push ebx
call eax
push str.EEB0F
push 0x1b000
push 0x425a4c
mov byte [0x425a4c], 0xcf
mov byte [0x425a4e], 0xd2
mov byte [0x425a4f], 0x30
mov byte [0x425a50], 0x45
call fcn.00402550
mov edi, 0x440aa4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x440aa0
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
push eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, 0x440aa0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x440aa4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x1e], 0x36
mov byte [esp + 0x1f], bl
mov byte [0x40b24f], 0x30
mov byte [esp + 0x12], 0x33
lea ecx, [esp + 0x12]
push edx
push ecx
mov byte [esp + 0x1b], bl
call ebp
push eax
push 0x1a
call fcn.004025a0
add esp, 0xc
add eax, 0x41
lea edx, [esp + 0x16]
push eax
push edx
call ebp
push eax
push 0x1a
call fcn.004025a0
add esp, 0xc
add eax, 0x61
push eax
lea eax, [esp + 0x1e]
push eax
call ebp
push eax
push 0x1a
call fcn.004025a0
add esp, 0xc
add eax, 0x61
lea ecx, [esp + 0x1e]
push eax
push ecx
call ebp
push eax
push 0x1a
call fcn.004025a0
add esp, 0xc
add eax, 0x41
lea edx, [esp + 0x23c]
push eax
push edx
lea eax, [esp + 0x140]
push str._s_c_c_c_c_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x148]
push ecx
call fcn.004025e0
add esp, 0x24
lea edx, [esp + 0x128]
mov byte [0x40b24e], 0xd2
push 2
push edx
call dword [0x44142c]
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x1e]
push str.EEB0F
push ecx
mov edi, eax
mov byte [esp + 0x20], 0x5f
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], bl
mov byte [0x40b24d], 0x1f
call ebp
add esp, 4
lea edx, [esp + 0x1c]
push eax
push 0x1a800
push 0x40b24c
push edx
call edi
cmp esi, ebx
je 0x402a7e
cmp edi, ebx
je 0x402a77
lea eax, [esp + 0x1e]
push str.EEB0F
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x1c]
push eax
push 0x1a800
push 0x40b24c
push ecx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
mov dword [esp + 0x540], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x538]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x534
ret