Function at 0x43df02
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x49c
mov eax, 0x46c013
call fcn.00468ea6
mov eax, ecx
mov dword [ebp - 0x490], eax
xor ecx, ecx
mov dword [ebp - 0x4a4], eax
mov esi, ecx
mov eax, dword [0x475014]
mov edi, 0x100
cmp eax, 0x475014
je 0x43df58
test dword [eax + 0x1c], edi
je 0x43df58
cmp byte [eax + 0x19], 4
jb 0x43df58
push dword [eax + 0x14]
mov ebx, 0x40da20
push dword [eax + 0x10]
mov edx, ebx
push 0x13
pop ecx
call fcn.00414ca8
xor ecx, ecx
jmp 0x43df5d
mov ebx, 0x40da20
push ecx
push ecx
mov ecx, dword [ebp - 0x490]
push 0x1009
push dword [ecx + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x43dfba
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43dfae
test dword [eax + 0x1c], edi
je 0x43dfae
cmp byte [eax + 0x19], 2
jb 0x43dfae
mov esi, 0x3eb
mov edx, ebx
push esi
push 0x40d7a8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.00414cf4
jmp 0x43dfb3
mov esi, 0x3eb
mov eax, esi
jmp 0x43e51d
lea ecx, [ebp - 0x228]
call fcn.0041f3e1
test eax, eax
jne 0x43e005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43dffe
test dword [ecx + 0x1c], edi
je 0x43dffe
cmp byte [ecx + 0x19], 2
jb 0x43dffe
push eax
push 0x40d7dc
push dword [ecx + 0x14]
mov edx, ebx
push dword [ecx + 0x10]
push 0x15
pop ecx
call fcn.00414cf4
xor eax, eax
jmp 0x43e51d
lea edx, [ebp - 0x228]
xor ecx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x48c], eax
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x43e016
sub edx, dword [ebp - 0x48c]
lea eax, [ebp - 0x228]
push ecx
sar edx, 1
push eax
mov dword [ebp - 0x4a0], edx
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x494], eax
call dword [sym.imp.MFC42u.dll_CString::CString_3]
and dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push 0x40d7fc
push eax
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 1
push 0x409538
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
and dword [ebp - 4], 0
lea eax, [ebp - 0x478]
add esp, 0x10
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x48c], eax
cmp eax, 0xffffffff
jne 0x43e0ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43e0d8
mov esi, eax
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43e0d8
test dword [ecx + 0x1c], edi
je 0x43e0d8
cmp byte [ecx + 0x19], 2
jb 0x43e0d8
push eax
push 0x40d808
push dword [ecx + 0x14]
mov edx, ebx
push dword [ecx + 0x10]
push 0x17
pop ecx
call fcn.00414cf4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call dword [sym.imp.MFC42u.dll_CString::CString]
jmp 0x43dfb3
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x488], 1
call dword [sym.imp.MFC42u.dll_CString::CString_3]
mov eax, dword [ebp - 0x488]
mov byte [ebp - 4], 3
test eax, eax
je 0x43e327
mov ecx, dword [ebp - 0x494]
lea eax, [ebp - 0x44c]
mov edx, 0x104
sub edx, dword [ebp - 0x4a0]
push eax
call fcn.0041b6c9
test eax, eax
jns 0x43e189
mov ecx, eax
movzx esi, ax
and ecx, 0x1fff0000
cmp ecx, 0x70000
je 0x43e14b
mov esi, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43e327
test dword [eax + 0x1c], edi
je 0x43e327
cmp byte [eax + 0x19], 2
jb 0x43e327
push esi
push 0x40b634
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
mov edx, ebx
pop ecx
call fcn.00414cf4
jmp 0x43e327
lea ecx, [ebp - 0x228]
call fcn.0041f1d2
test eax, eax
je 0x43e46b
mov esi, dword [ebp - 0x490]
xor eax, eax
push eax
push eax
push 0x1004
push dword [esi + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
add esi, 0x124
push ecx
push 8
push ecx
push ecx
lea ecx, [ebp - 0x44c]
push ecx
push eax
push 3
mov ecx, esi
call dword [sym.imp.MFC42u.dll_CListCtrl::InsertItem]
mov dword [ebp - 0x488], eax
test eax, eax
jns 0x43e21b
mov esi, 0x3eb
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43e327
test dword [eax + 0x1c], edi
je 0x43e327
cmp byte [eax + 0x19], 2
jb 0x43e327
push esi
push 0x40d824
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x19
jmp 0x43e17c
push 0xffffffffffffffff
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x498]
call dword [sym.imp.MFC42u.dll_CTime::CTime_1]
mov dword [ebp - 0x49c], 0x403988
push 1
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x49c]
call fcn.0044037a
push eax
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 6
call dword [0x478574]
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC42u.dll_CString::CString]
mov dword [ebp - 4], 3
mov ecx, esi
push dword [ebp - 0x484]
mov dword [ebp - 0x49c], 0x403988
push 1
push dword [ebp - 0x488]
call dword [sym.imp.MFC42u.dll_CListCtrl::SetItemText]
test eax, eax
jne 0x43e2cd
mov esi, 0x3eb
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43e327
test dword [eax + 0x1c], edi
je 0x43e327
cmp byte [eax + 0x19], 2
jb 0x43e327
push esi
push 0x40d850
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
jmp 0x43e17c
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x484]
push dword [ebp - 0x458]
call fcn.00422143
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x43e395
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43e321
test dword [ecx + 0x1c], edi
je 0x43e321
cmp byte [ecx + 0x19], 2
jb 0x43e321
push eax
push 0x40ae98
push dword [ecx + 0x14]
mov edx, ebx
push dword [ecx + 0x10]
push 0x1c
pop ecx
call fcn.00414cf4
mov esi, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x48c]
cmp eax, 0xffffffff
je 0x43e375
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x43e375
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43e375
test dword [eax + 0x1c], edi
je 0x43e375
cmp byte [eax + 0x19], 2
jb 0x43e375
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x475014]
mov edx, ebx
push 0x40d89c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.00414cf4
mov ecx, dword [ebp - 0x490]
call fcn.0043f2ed
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC42u.dll_CString::CString]
jmp 0x43e0d8
push dword [ebp - 0x484]
mov ecx, esi
push 2
push dword [ebp - 0x488]
call dword [sym.imp.MFC42u.dll_CListCtrl::SetItemText]
test eax, eax
jne 0x43e465
mov esi, 0x3eb
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43e327
test dword [eax + 0x1c], edi
je 0x43e327
cmp byte [eax + 0x19], 2
jb 0x43e327
push esi
push 0x40d850
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
jmp 0x43e17c
mov esi, dword [ebp - 0x47c]
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43e115
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x43e327
mov esi, eax
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43e327
test dword [ecx + 0x1c], edi
je 0x43e327
cmp byte [ecx + 0x19], 2
jb 0x43e327
push eax
push 0x40d880
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x1e
jmp 0x43e17c
call fcn.00468de4
ret