Function at 0x454884
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5989de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b4
push ebx
push esi
push edi
mov dword [ebp - 0x32c], ecx
mov dword [ebp - 0x328], 0
mov ecx, dword [ebp - 0x32c]
call sub.MFC42.DLL_CMDIFrameWnd::CMDIFrameWnd
mov dword [ebp - 4], 0
push str.WS32FRM.LOG
mov ecx, dword [ebp - 0x32c]
add ecx, 0xc4
call fcn.00517570
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x32c]
add ecx, 0xf4
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x32c]
add ecx, 0xf8
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x32c]
add ecx, 0xfc
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xa
mov ecx, dword [ebp - 0x32c]
add ecx, 0x100
call sub.MFC42.DLL_CMapStringToPtr::CMapStringToPtr
mov byte [ebp - 4], 5
push 0xa
mov ecx, dword [ebp - 0x32c]
add ecx, 0x120
call sub.MFC42.DLL_CMapStringToString::CMapStringToString
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x32c]
add ecx, 0x154
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
push fcn.00403930
push fcn.004038e0
push 0x10
push 8
mov eax, dword [ebp - 0x32c]
add eax, 0x184
push eax
call fcn.0058ef8e
mov byte [ebp - 4], 8
push fcn.00403890
push fcn.00403710
push 0x10
push 8
mov ecx, dword [ebp - 0x32c]
add ecx, 0x204
push ecx
call fcn.0058ef8e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x32c]
add ecx, 0x288
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x32c]
add ecx, 0x294
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x32c]
add ecx, 0x2a8
call fcn.0058e44e
mov byte [ebp - 4], 0xc
push 0x5e7c5c
push 1
push str.LogOnEnabled
push 0x5e7c78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x2d0], eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x2d4
call sub.MFC42.DLL_CStatusBar::CStatusBar
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x32c]
mov dword [eax], 0x5b2ae8
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x2bc], 0
mov dword [0x5ff970], 0
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0xd8], 0
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0xdc], 0
push 0x5e7c7c
push 0x5e7c88
push 0x5e7c8c
push 0x5e7ca4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x32c]
mov word [ecx + 0x180], 0
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x164], 0
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0x168], 0
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x170], 0
mov edx, dword [ebp - 0x32c]
mov byte [edx + 0x16c], 0
push 0x5e7ca8
push 0
push str.wsDebug
push 0x5e7cbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x454ae9
int3
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0x140], 1
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x144], 1
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x148], 0
push 0x5e7cc4
mov ecx, dword [ebp - 0x32c]
add ecx, 0x154
call fcn.0058e0f4
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0x15c], 2
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x150], 1
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x13c], 0
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0x11c], 0
push 0x5e7ccc
push 0x100
lea ecx, [ebp - 0x254]
push ecx
push 0x5e7cd8
push str.CncDir1
push 0x5e7cec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x5e7cf4
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x2c4]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x334]
push ecx
lea edx, [ebp - 0x2c8]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x33c]
push ecx
mov ecx, dword [ebp - 0x32c]
add ecx, 0xf8
call fcn.0058dfec
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c8]
call fcn.0058df86
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c4]
call fcn.0058df86
push str.Custom
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x2cc]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x344]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x34c]
push ecx
mov ecx, dword [ebp - 0x32c]
add ecx, 0xfc
call fcn.0058dfec
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2d0]
call fcn.0058df86
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2cc]
call fcn.0058df86
push 0x5e7d00
push 0
push str.Verbose
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x174], eax
push 0x5e7d14
push 0
push str.ShowTiming
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x178], eax
push 0x5e7d2c
push 1
push str.SoftKeys
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x17c], eax
push 0x5e7d44
push 0x100
lea eax, [ebp - 0x254]
push eax
push str.C:FidiaWS
push str.ExeDir1
push 0x5e7d64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x32c]
add ecx, 0xf4
call fcn.0058e0f4
push 0x5e7d6c
push 1
push str.CanWrite
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x284], eax
push 0x5e7d84
push 0x100
lea eax, [ebp - 0x254]
push eax
push str.NOTEPAD.EXE
push str.TextEditor
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x288
call fcn.0058e0f4
push 0x5e7da8
push 0
push str.ExternalApps
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x290], eax
mov dword [ebp - 0x258], 0
jmp 0x454e47
mov eax, dword [ebp - 0x258]
add eax, 1
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x32c]
mov edx, dword [ebp - 0x258]
cmp edx, dword [ecx + 0x290]
jge 0x455066
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x2d8], 0
je 0x454e8f
mov ecx, dword [ebp - 0x2d8]
call fcn.00458ca0
mov dword [ebp - 0x350], eax
jmp 0x454e99
mov dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x258]
add edx, 1
push edx
push str.ExternalApp_d
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x5e7dd4
push 0x100
lea ecx, [ebp - 0x254]
push ecx
push 0x5ff978
push str.Line1
lea edx, [ebp - 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x150]
call fcn.0058e0f4
push 0x5e7de8
push 0x100
lea ecx, [ebp - 0x254]
push ecx
push 0x5ff97c
push str.Line2
lea edx, [ebp - 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 4
call fcn.0058e0f4
push 0x5e7dfc
push 0x100
lea ecx, [ebp - 0x254]
push ecx
push 0x5ff980
push str.Handle
lea edx, [ebp - 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 8
call fcn.0058e0f4
push 0x5e7e10
push 0x100
lea ecx, [ebp - 0x254]
push ecx
push 0x5ff984
push str.Path
lea edx, [ebp - 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 0xc
call fcn.0058e0f4
push 0x5e7e24
push 0x100
lea ecx, [ebp - 0x254]
push ecx
push 0x5ff988
push str.WindowClass
lea edx, [ebp - 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 0x10
call fcn.0058e0f4
push 0x5e7e3c
push 1
push str.ShowIt
lea ecx, [ebp - 0x298]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x150]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x294
call fcn.0040bfc0
mov ecx, dword [ebp - 0x150]
cmp dword [ecx + 0x14], 0
je 0x455061
mov dx, word [ebp - 0x258]
push edx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x2a8
call fcn.00428ec0
jmp 0x454e38
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0x28c], 0
lea ecx, [ebp - 0x14c]
push ecx
push 0x5e7e50
mov edx, dword [ebp - 0x32c]
add edx, 0xf8
push edx
lea eax, [ebp - 0x2e0]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x358], ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x358]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
xor edx, edx
cmp dword [ebp - 0x154], 0xffffffff
setne dl
mov byte [ebp - 0x2dc], dl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e0]
call fcn.0058df86
mov eax, dword [ebp - 0x2dc]
and eax, 0xff
test eax, eax
je 0x4553fb
lea ecx, [ebp - 0x2a0]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14c]
and ecx, 0xfffffffe
mov dword [ebp - 0x2a8], ecx
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x2a0]
call fcn.0058e0f4
push 0x2e
lea ecx, [ebp - 0x2a0]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0xffffffff
je 0x455199
mov eax, dword [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
lea ecx, [ebp - 0x2a0]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x360]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0058dfec
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2e4]
call fcn.0058df86
lea ecx, [ebp - 0x2a0]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x100
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x455264
push 0
push 0
push 0x5e7e58
lea edx, [ebp - 0x2a0]
push edx
push 0x5e7e6c
lea eax, [ebp - 0x2e8]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x368], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x368]
push edx
lea eax, [ebp - 0x2ec]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
mov dword [ebp - 0x370], ecx
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x370]
call fcn.00403d90
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2ec]
call fcn.0058df86
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2e8]
call fcn.0058df86
jmp 0x4553c3
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2f4], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x2f4], 0
je 0x455329
push 0
lea edx, [ebp - 0x120]
push edx
push 0x5e7e84
mov eax, dword [ebp - 0x32c]
add eax, 0xf8
push eax
lea ecx, [ebp - 0x2f8]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x374], eax
mov edx, dword [ebp - 0x328]
or edx, 1
mov dword [ebp - 0x328], edx
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x378], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x378]
push ecx
lea edx, [ebp - 0x2fc]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x328]
or al, 2
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x380], ecx
mov dword [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x380]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x2f4]
call fcn.00436ee0
mov dword [ebp - 0x384], eax
jmp 0x455333
mov dword [ebp - 0x384], 0
mov edx, dword [ebp - 0x384]
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 4], 0x1c
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x328]
and ecx, 2
test ecx, ecx
je 0x455378
and dword [ebp - 0x328], 0xfffffffd
lea ecx, [ebp - 0x2fc]
call fcn.0058df86
mov dword [ebp - 4], 0x14
mov edx, dword [ebp - 0x328]
and edx, 1
test edx, edx
je 0x45539e
and dword [ebp - 0x328], 0xfffffffe
lea ecx, [ebp - 0x2f8]
call fcn.0058df86
lea ecx, [ebp - 0x2a0]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x100
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov ecx, dword [ebp - 0x2a4]
mov dword [eax], ecx
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45510c
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a0]
call fcn.0058df86
lea edx, [ebp - 0x14c]
push edx
push 0x5e7e88
mov eax, dword [ebp - 0x32c]
add eax, 0xfc
push eax
lea ecx, [ebp - 0x304]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x388], eax
mov edx, dword [ebp - 0x388]
mov dword [ebp - 0x38c], edx
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x38c]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
xor eax, eax
cmp dword [ebp - 0x154], 0xffffffff
setne al
mov byte [ebp - 0x300], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x304]
call fcn.0058df86
mov ecx, dword [ebp - 0x300]
and ecx, 0xff
test ecx, ecx
je 0x455781
lea ecx, [ebp - 0x2b4]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x14c]
and edx, 0xfffffffe
mov dword [ebp - 0x2bc], edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0058e0f4
push 0x2e
lea ecx, [ebp - 0x2b4]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0xffffffff
je 0x45551e
mov ecx, dword [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x308]
push edx
lea ecx, [ebp - 0x2b4]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x394], eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x394]
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.0058dfec
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x308]
call fcn.0058df86
lea ecx, [ebp - 0x2b4]
call sub.MFC42.DLL_CString::MakeUpper
lea edx, [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x2b4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x100
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x4555e9
push 0
push 0
push str._already_mapped.
lea eax, [ebp - 0x2b4]
push eax
push str.Internal_error:_bitmap
lea ecx, [ebp - 0x30c]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x398], eax
mov edx, dword [ebp - 0x398]
mov dword [ebp - 0x39c], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x310]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x3a0], eax
mov edx, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], edx
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x3a4]
call fcn.00403d90
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x310]
call fcn.0058df86
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x30c]
call fcn.0058df86
jmp 0x455749
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x318], 0
je 0x4556af
push 0
lea eax, [ebp - 0x120]
push eax
push 0x5e7ebc
mov ecx, dword [ebp - 0x32c]
add ecx, 0xfc
push ecx
lea edx, [ebp - 0x31c]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x328]
or al, 4
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], ecx
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x3ac]
push edx
lea eax, [ebp - 0x320]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x328]
or ecx, 8
mov dword [ebp - 0x328], ecx
mov edx, dword [ebp - 0x3b0]
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 4], 0x24
mov ecx, dword [ebp - 0x3b4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x318]
call fcn.00436ee0
mov dword [ebp - 0x3b8], eax
jmp 0x4556b9
mov dword [ebp - 0x3b8], 0
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x314], eax
mov dword [ebp - 4], 0x26
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 4], 0x25
mov edx, dword [ebp - 0x328]
and edx, 8
test edx, edx
je 0x4556fe
and dword [ebp - 0x328], 0xfffffff7
lea ecx, [ebp - 0x320]
call fcn.0058df86
mov dword [ebp - 4], 0x1e
mov eax, dword [ebp - 0x328]
and eax, 4
test eax, eax
je 0x455724
and dword [ebp - 0x328], 0xfffffffb
lea ecx, [ebp - 0x31c]
call fcn.0058df86
lea ecx, [ebp - 0x2b4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x100
call sub.MFC42.DLL_CMapStringToPtr::operator__
mov ecx, dword [ebp - 0x2b8]
mov dword [eax], ecx
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x455491
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2b4]
call fcn.0058df86
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x160], 0
push str.WS32ToViewerOpenFile
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x5ff96c], eax
mov ecx, dword [ebp - 0x32c]
call fcn.0045788b
push 0
push 0x3e8
push 0x5ba0
mov ecx, dword [ebp - 0x32c]
call fcn.00412150
push 0
call sub.MFC42.DLL_AfxSocketInit
push ecx
mov ecx, esp
mov dword [ebp - 0x324], esp
push str.11.4.02
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x32c]
call fcn.00458a97
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x3c0]
mov dword [eax + 0x2c0], ecx
mov edx, dword [ebp - 0x32c]
mov dword [edx + 0x2c4], 0
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0x2c8], 0x24
push 0x5e7ee4
push 1
push 0x5e7ef0
push 0x5e7f00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x2cc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret