Function at 0x40b7b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x4750bc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2a0]
mov eax, dword [esp + 0x2a4]
mov edi, dword [esp + 0x2ac]
mov ebp, ecx
mov ecx, dword [esp + 0x2a8]
mov dword [esp + 0x28], ecx
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], eax
call dword [0x4763f4]
xor ebx, ebx
mov dword [esp + 0x298], ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
cmp eax, ebx
je 0x40b855
dec eax
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x40b855
push 0x47d53c
lea ecx, [esp + 0x18]
call dword [0x476390]
push 0x47d5dc
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append_1]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
jne 0x40b8ad
lea edx, [esp + 0x14]
push edx
lea ecx, [ebp + 0x6c8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov dword [esp + 0x298], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x6403ef00
jmp 0x40bb2e
mov dword [esp + 0x1c], ebx
mov ecx, 0x47d59c
lea eax, [esp + 0x68]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b8e6
cmp dx, bx
je 0x40b8e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b8e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40b8c0
xor eax, eax
jmp 0x40b8eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40bac0
mov ecx, 0x47d580
lea eax, [esp + 0x68]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b926
cmp dx, bx
je 0x40b922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b926
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40b900
xor eax, eax
jmp 0x40b92b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40bac0
test byte [esp + 0x3c], 0x10
je 0x40b9e4
mov eax, dword [ebp + 0x6c4]
cmp dword [eax + 0x48], ebx
jne 0x40bac0
lea ecx, [esp + 0x24]
call dword [0x476410]
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x68]
push ecx
push esi
lea edx, [esp + 0x2c]
push 0x47dac8
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [esp + 0x38]
add esp, 0x10
push eax
lea ecx, [esp + 0x34]
call dword [0x4763f4]
mov byte [esp + 0x298], 2
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x34]
push 0x47dad4
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::AppendFormat]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0xc
push edi
push eax
push ecx
push edx
mov ecx, ebp
call fcn.0040b7b0
inc dword [esp + 0x1c]
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x298], bl
lea ecx, [esp + 0x24]
jmp 0x40baba
lea ecx, [esp + 0x2c]
call dword [0x476410]
mov byte [esp + 0x298], 3
lea eax, [esp + 0x68]
push eax
push esi
lea ecx, [esp + 0x34]
push 0x47dac8
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [esp + 0x38]
add esp, 0x10
push edx
lea ecx, [esp + 0x1c]
call dword [0x4763f4]
mov byte [esp + 0x298], 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x40ba52
dec eax
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x40ba52
push 0x47d53c
lea ecx, [esp + 0x1c]
call dword [0x476390]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x476390]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push ebp
call fcn.0040b620
cmp edi, ebx
je 0x40ba99
mov eax, dword [esp + 0x58]
push 1
push ebx
push ebx
push eax
call fcn.0046bd70
mov ecx, dword [esp + 0x5c]
xor ebp, ebp
add eax, ecx
adc edx, ebp
add dword [edi], eax
mov ebp, dword [esp + 0x38]
adc dword [edi + 4], edx
inc dword [esp + 0x1c]
mov byte [esp + 0x298], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x298], bl
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x40b8b1
cmp dword [esp + 0x1c], ebx
jne 0x40baef
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
push ebp
call fcn.0040b620
jmp 0x40bb09
mov ecx, dword [esp + 0x20]
push ecx
push esi
call fcn.0040bb60
test eax, eax
jne 0x40bb09
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
push esi
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x298], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00428cb4
add esp, 0x288
ret 0x10