Function at 0x402e80
Capabilities:
Access peb ldr_data
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x404500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, ecx
push ebp
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
push 0x4072dc
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0
call sub.MFC42.DLL_CString::CString_1
push 0x4072dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::CString_1
push 0x4072dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_CString::CString_1
push 0x4072dc
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0x45c]
xor ebp, ebp
cmp eax, 5
mov byte [esp + 0x7c], 4
mov byte [esp + 9], 0
ja case.default.0x402f1b
jmp dword [eax*4 + 0x403330]
lea eax, [esp + 0xc]
push 0x4070dc
push eax
jmp 0x402f63
lea ecx, [esp + 0xc]
push str..wt
push ecx
jmp 0x402f63
push str..wl
jmp 0x402f5e
lea eax, [esp + 0xc]
push str..wp
push eax
jmp 0x402f63
lea ecx, [esp + 0xc]
push str..wn
push ecx
jmp 0x402f63
push str..wb
lea edx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx + 0x3dc]
add esp, 8
push esi
push edi
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 0xf03
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x403155
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [esp + 0x24]
lea ecx, [esp + 0x38]
push edx
mov edi, eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 5
call fcn.00403cfa
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 4
call fcn.00403cf4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x12]
push eax
push 0
push ecx
call sub.bas60.dll_Ordinal_77
test ax, ax
jl case.0x403015.3
movsx eax, ax
cmp eax, 7
ja case.0x403015.3
jmp dword [eax*4 + 0x403348]
mov edx, dword [esp + 0x1c]
push 0x7e
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne case.0x403015.3
movsx eax, word [esp + 0x12]
cmp eax, 0x4460
jg 0x403082
je 0x403076
sub eax, 0x3035
je 0x40306f
dec eax
je 0x403063
sub eax, 0x13cf
jne case.0x403015.3
lea eax, [esp + 0x18]
push 0x4070ac
push eax
jmp 0x4030a8
lea ecx, [esp + 0x18]
push 0x4070a4
push ecx
jmp 0x4030a8
push 0x40709c
jmp 0x4030a3
lea eax, [esp + 0x18]
push 0x407094
push eax
jmp 0x4030a8
sub eax, 0x4470
je 0x40309e
sub eax, 0x10
jne case.0x403015.3
lea ecx, [esp + 0x18]
push 0x40708c
push ecx
jmp 0x4030a8
push 0x407084
lea edx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CFileFind::GetLastWriteTime
lea ecx, [esp + 0x2c]
push str._Y__m__d__H:_M:_S
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 6
call fcn.00403cfa
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 4
call fcn.00403cf4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], eax
mov eax, dword [eax - 8]
lea edx, [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x3dc]
push edx
push 0
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
lea esi, [ebx + 0x3bc]
push ecx
push 1
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
push 2
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
inc ebp
test edi, edi
jne 0x402fb3
push 0
push 0x4070dc
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x403205
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 7
call fcn.00403cfa
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 4
call fcn.00403cf4
mov edx, dword [esp + 0x38]
push 0x10
lea ecx, [esp + 0x3c]
call dword [edx + 0x40]
test eax, eax
je 0x4031f9
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4031f9
mov al, byte [esp + 0x11]
mov ecx, ebx
inc al
movsx esi, al
push esi
mov byte [esp + 0x15], al
call fcn.00402610
mov eax, dword [ebx + 0x388]
mov ecx, 0x40
shl esi, 8
lea edi, [esi + eax - 0x100]
mov esi, dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x40316d
mov al, byte [esp + 0x11]
test al, al
je 0x403230
mov edx, dword [ebx + 0x388]
movsx ecx, al
shl ecx, 8
lea eax, [ecx + edx - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
dec byte [esp + 0x11]
jmp 0x402f9b
mov ecx, ebx
call fcn.004026d0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [ebx + 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebp
add ebx, 0x444
push 0x40706c
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 3
call fcn.00403cf4
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 2
call fcn.00403cf4
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 1
call fcn.00403cf4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0
call fcn.00403cf4
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.00403ec8
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x7c], 3
call fcn.00403cf4
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 2
call fcn.00403cf4
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 1
call fcn.00403cf4
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call fcn.00403cf4
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00403ec8
mov ecx, dword [esp + 0x74]
pop ebp
xor ax, ax
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret