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

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x5220d95
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x53f3c3c]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 0x25c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x264]
mov dword [ebp - 0x38], ecx
mov esi, dword [ebp + 0x268]
mov edx, dword [ebp + 0x270]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
push 0x410
call sub.mfc90.dll_Ordinal_265
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], eax
push 0x410
call sub.mfc90.dll_Ordinal_265
mov ebx, eax
mov dword [ebp - 0x14], ebx
push 0x410
call sub.mfc90.dll_Ordinal_265
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x58], 0
je 0x506ba89
test ebx, ebx
je 0x506ba89
test eax, eax
je 0x506ba89
mov eax, dword [edi + 0xd5b8]
test eax, eax
je 0x506b48f
cmp dword [eax], 0x2694
jne 0x506b48f
mov esi, 0x3b
mov dword [ebp - 0x30], esi
push str._WARNING:
push 0xd2
push 0x2bd
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 2
mov ecx, dword [edi]
push ecx
push str.__d__User_stop_traverse_folder
mov edx, dword [edi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
mov dword [ebp - 0x68], esi
push 0x539d928
lea eax, [ebp - 0x68]
push eax
call sub.MSVCR90.dll__CxxThrowException
inc dword [ebp + 0x26c]
push 0x208
push 0
push ebx
call fcn.050615f0
push 0x208
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.050615f0
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0x26c]
mov edx, dword [ebp - 0x14]
cmp eax, ecx
jae 0x506b4d6
mov ebx, 0x20
mov word [edx + eax*2], bx
inc eax
mov dword [ebp - 0x60], eax
jmp 0x506b4c3
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x5252e68
mov ebx, dword [ebp - 0x28]
push ebx
mov edx, 0x208
call fcn.050615d0
add esp, 0x10
push 0x52c722a
push 1
push 0x2cb
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [edi]
push ecx
push str.__d___ls____Find_Recursion_Start___ls_
mov edx, dword [edi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x2cc
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 4
push ebx
mov ecx, dword [ebp - 0x14]
push ecx
push str.__d___ls_Find_Pattern_:__ls
mov edx, dword [edi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, 0xffffffff
jne 0x506b5eb
push 0x52c722a
push 1
push 0x2d0
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov esi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [edi]
push ecx
push str.__d__Invalid_file_handle._Error_is__u
mov edx, dword [edi + 8]
push edx
push esi
call fcn.051ae2d0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
mov dword [ebp - 0x5c], 1
push 0x539d928
lea eax, [ebp - 0x5c]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov ecx, 0x5252df4
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x506b619
test dx, dx
je 0x506b615
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x506b619
add eax, 4
add ecx, 4
test dx, dx
jne 0x506b5f3
xor eax, eax
jmp 0x506b61e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x506b790
mov ecx, 0x5252dec
lea eax, [ebp + 0x2c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x506b656
test dx, dx
je 0x506b652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x506b656
add eax, 4
add ecx, 4
test dx, dx
jne 0x506b630
xor eax, eax
jmp 0x506b65b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x506b790
mov eax, 1
push eax
xor eax, eax
push eax
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0520bb20
mov ecx, dword [ebp + 0x20]
xor ebx, ebx
add eax, ecx
adc edx, ebx
add dword [esi], eax
adc dword [esi + 4], edx
test byte [ebp], 0x10
je 0x506b6fd
push 0x410
call sub.mfc90.dll_Ordinal_265
mov ebx, eax
mov dword [ebp - 0x1c], ebx
lea edx, [ebp + 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x5252e68
push ebx
mov edx, 0x208
call fcn.050615d0
add esp, 0x14
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x506b6c0
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0x26c]
push edx
push esi
mov ecx, dword [ebp - 0x38]
push ecx
push eax
push ebx
mov ecx, edi
call fcn.0506b360
push ebx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x506b789
push 0x52c722a
push 1
push 0x2e1
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 6
lea edx, [ebp + 0x2c]
push edx
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [edi]
push edx
push str.__d___lsFile:__ls_ls
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
lea edx, [ebp + 0x2c]
push edx
push ebx
push 0x5252e68
mov ebx, dword [ebp - 0x24]
push ebx
mov edx, 0x208
call fcn.050615d0
add esp, 0x10
push ebx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0506a720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebx, dword [ebp - 0x20]
lea esp, [esp]
lea ecx, [ebp]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x506b9aa
mov eax, dword [edi + 0xd5b8]
test eax, eax
je 0x506b80f
cmp dword [eax], 0x2694
jne 0x506b80f
mov esi, 0x3b
mov dword [ebp - 0x30], esi
push str._WARNING:
push 0xd2
push 0x2ef
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 8
mov edx, dword [edi]
push edx
push str.__d__User_stop_traverse_folder
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
mov dword [ebp - 0x64], esi
push 0x539d928
lea edx, [ebp - 0x64]
push edx
call sub.MSVCR90.dll__CxxThrowException
test byte [ebp], 0x10
je 0x506b8f5
mov ecx, 0x5252df4
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x506b847
test dx, dx
je 0x506b843
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x506b847
add eax, 4
add ecx, 4
test dx, dx
jne 0x506b821
xor eax, eax
jmp 0x506b84c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x506b790
mov ecx, 0x5252dec
lea eax, [ebp + 0x2c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x506b886
test dx, dx
je 0x506b882
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x506b886
add eax, 4
add ecx, 4
test dx, dx
jne 0x506b860
xor eax, eax
jmp 0x506b88b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x506b790
mov eax, 1
push eax
xor eax, eax
push eax
push eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0520bb20
mov ecx, dword [ebp + 0x20]
xor ebx, ebx
add eax, ecx
adc edx, ebx
add dword [esi], eax
adc dword [esi + 4], edx
push 0x410
call sub.mfc90.dll_Ordinal_265
mov ebx, eax
mov dword [ebp - 0x1c], ebx
lea edx, [ebp + 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x5252e68
push ebx
mov edx, 0x208
call fcn.050615d0
add esp, 0x14
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x506b8e3
sub eax, ecx
jmp 0x506b6cd
mov eax, 1
push eax
xor eax, eax
push eax
push eax
mov edx, dword [ebp + 0x1c]
push edx
call fcn.0520bb20
mov ecx, dword [ebp + 0x20]
xor ebx, ebx
add eax, ecx
adc edx, ebx
add dword [esi], eax
adc dword [esi + 4], edx
push 0x52c722a
push 1
push 0x307
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 9
lea edx, [ebp + 0x2c]
push edx
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [edi]
push edx
push str._lsFile:__ls_ls
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
lea edx, [ebp + 0x2c]
push edx
push ebx
push 0x5252e68
mov ebx, dword [ebp - 0x24]
push ebx
mov edx, 0x208
call fcn.050615d0
add esp, 0x10
push ebx
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0506a720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
jmp 0x506b783
push 0x52c722a
push 1
push 0x30c
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 0xb
mov ecx, dword [esi + 4]
push ecx
mov edx, dword [esi]
push edx
mov esi, dword [ebp - 0x14]
push esi
mov ecx, dword [edi]
push ecx
push str.__d___ls_ACC_DIR___I64u
mov edx, dword [edi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x30d
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push esi
mov edx, dword [edi]
push edx
push str.__d___ls____Find_Recursion_End___ls_
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
cmp ebx, 0xffffffff
je 0x506ba42
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x506ba52
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x506ba62
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x506ba72
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x506ba82
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
xor eax, eax
jmp 0x506bb4b
push str._ERROR:
push 0xff
push 0x2b4
push str..META_Handle.cpp
lea ecx, [ebp - 0x4c]
call fcn.051ae270
mov esi, 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
push edx
push ebx
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [edi]
push edx
push str.__d__DirSpec_0x_p___header_0x_p___fullPath_0x_p_
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.051ae2c0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x6c], esi
push 0x539d928
lea edx, [ebp - 0x6c]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x506bafb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x506bb0b
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x506bb1b
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x506bb2b
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x506bb3b
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, 0x506bb48
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.0520b902
add ebp, 0x254
mov esp, ebp
pop ebp
ret 0x18