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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bc967
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x384], eax
mov al, byte [ebp + 0x14]
mov dword [ebp - 0x374], edi
mov dword [ebp - 0x370], esi
mov byte [ebp - 0x35d], al
mov byte [ebp - 0x364], al
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx], 0
push 1
push 0x751b40
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov byte [ebp - 4], 0
call fcn.0044d800
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.004e06e0
add esp, 0x18
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x348]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xcc], esi
test ecx, ecx
je 0x4e244e
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x38]
mov edx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.0
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
test ecx, ecx
je 0x4e244e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x4e2aa8
cmp eax, 0xffffffff
je 0x4e2aa8
xor edi, edi
mov dword [ebp - 0x380], 0
xor eax, eax
mov dword [ebp - 0x37c], edi
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x378], eax
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 8
test byte [ebp - 0x348], 0x10
mov ecx, dword [ebp - 0x340]
movq qword [ebp - 0x18], xmm0
seta byte [ebp - 0x18]
or eax, dword [ebp - 0x344]
mov dword [ebp - 0x48], eax
xor eax, eax
or eax, dword [ebp - 0x334]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x40], eax
xor eax, eax
or eax, dword [ebp - 0x328]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x38], eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e2510
sub ecx, edx
lea eax, [ebp - 0x31c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0044d800
cmp dword [0x791004], 8
lea edx, [ebp - 0x30]
mov edi, dword [ebp - 0x30]
mov eax, 0x790ff0
cmovae eax, dword [0x790ff0]
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x20]
cmovae edx, edi
mov dword [ebp - 0x368], edi
setae byte [ebp - 0x349]
mov dword [ebp - 0x350], edx
cmp esi, dword [0x791000]
jne 0x4e25ac
mov ecx, esi
test ecx, ecx
je 0x4e276d
movzx edx, word [edx]
movzx edi, word [eax]
cmp dx, di
jb 0x4e25ac
sub dword [ebp - 0x350], eax
cmp dx, di
ja 0x4e25ac
cmp ecx, 1
je 0x4e2767
mov edx, dword [ebp - 0x350]
add eax, 2
dec ecx
movzx edx, word [eax + edx]
movzx edi, word [eax]
cmp dx, di
jae 0x4e258b
cmp dword [0x79101c], 8
lea edi, [ebp - 0x30]
mov eax, 0x791008
cmovae eax, dword [0x791008]
cmp byte [ebp - 0x349], 0
cmovne edi, dword [ebp - 0x368]
cmp esi, dword [0x791018]
jne 0x4e260c
test esi, esi
je 0x4e2767
movzx ecx, word [edi]
movzx edx, word [eax]
cmp cx, dx
jb 0x4e260c
sub edi, eax
cmp cx, dx
ja 0x4e260c
cmp esi, 1
je 0x4e2767
movzx ecx, word [eax + edi + 2]
add eax, 2
dec esi
movzx edx, word [eax]
cmp cx, dx
jae 0x4e25f0
mov esi, dword [ebp - 0x384]
cmp dword [esi + 0x24], 0
je 0x4e26a6
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.0044d190
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4e2d24
mov eax, dword [ecx]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [eax + 8]
call eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x349], al
mov byte [ebp - 4], 8
call fcn.0044d7a0
cmp byte [ebp - 0x349], 0
je 0x4e27f6
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0044d190
mov edx, dword [ebp - 0x370]
lea ecx, [ebp - 0x78]
call fcn.004e06e0
add esp, 0x18
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.0044d190
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0x358]
push ecx
cmp eax, dword [ebp - 0x354]
je 0x4e27b5
mov ecx, eax
call fcn.0045d5e0
add dword [ebp - 0x358], 0x50
jmp 0x4e27c1
mov edi, dword [ebp - 0x368]
cmp byte [ebp - 0x349], 0
mov byte [ebp - 4], 6
je 0x4e295b
mov ecx, dword [ebp - 0x1c]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4e27a6
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2d29
push ecx
push edi
call fcn.006779b1
add esp, 8
jmp 0x4e295b
push eax
lea ecx, [ebp - 0x35c]
call fcn.004e48b0
lea ecx, [ebp - 0x98]
call fcn.0044d7a0
mov eax, dword [ebp - 0xb4]
cmp eax, 8
jb 0x4e27ea
inc eax
lea ecx, [ebp - 0xc8]
push eax
push dword [ebp - 0xc8]
call fcn.0044da60
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.0044d7a0
cmp byte [ebp - 0x35d], 0
mov edi, dword [ebp - 0x30]
je 0x4e2944
cmp dword [0x791004], 8
lea esi, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov eax, 0x790ff0
cmovae eax, dword [0x790ff0]
cmp dword [ebp - 0x1c], 8
setae dl
cmovae esi, edi
mov byte [ebp - 0x349], dl
mov dword [ebp - 0x350], esi
cmp ecx, dword [0x791000]
jne 0x4e2882
mov edx, ecx
test edx, edx
je 0x4e2944
movzx esi, word [esi]
movzx edi, word [eax]
cmp si, di
jb 0x4e287c
sub dword [ebp - 0x350], eax
cmp si, di
ja 0x4e287c
cmp edx, 1
je 0x4e2941
mov esi, dword [ebp - 0x350]
add eax, 2
dec edx
movzx esi, word [eax + esi]
movzx edi, word [eax]
cmp si, di
jae 0x4e285b
mov dl, byte [ebp - 0x349]
cmp dword [0x79101c], 8
lea edi, [ebp - 0x30]
mov eax, 0x791008
cmovae eax, dword [0x791008]
test dl, dl
cmovne edi, dword [ebp - 0x30]
cmp ecx, dword [0x791018]
jne 0x4e28d6
test ecx, ecx
je 0x4e2941
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x4e28d6
sub edi, eax
cmp dx, si
ja 0x4e28d6
cmp ecx, 1
je 0x4e2941
movzx edx, word [eax + edi + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x4e28be
cmp byte [ebp - 0x18], 0
je 0x4e2941
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0044d190
mov edx, dword [ebp - 0x370]
lea ecx, [ebp - 0x78]
call fcn.004e06e0
add esp, 0x18
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x37c]
push eax
cmp edx, dword [ebp - 0x36c]
je 0x4e2921
call fcn.00450700
add esp, 4
add edx, 0x18
mov dword [ebp - 0x37c], edx
jmp 0x4e2939
push edx
lea ecx, [ebp - 0x380]
call fcn.00450770
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x78]
call fcn.0044d7a0
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x4e295b
inc eax
lea ecx, [ebp - 0x30]
push eax
push edi
call fcn.0044da60
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0xf8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e2490
mov esi, dword [ebp - 0x380]
mov edi, dword [ebp - 0x37c]
cmp esi, edi
je 0x4e29dd
nop word [eax + eax]
push dword [ebp - 0x364]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x384]
push esi
push eax
call fcn.004e2320
add esp, 0x10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x35c]
push dword [ebp - 0x364]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x358]
call fcn.004e5190
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.00459bf0
add esi, 0x18
cmp esi, edi
jne 0x4e2990
mov esi, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x358]
mov edx, dword [ebp - 0x354]
mov eax, dword [ebp - 0x35c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x35c], 0
mov dword [esi], eax
mov dword [esi + 8], edx
test ecx, ecx
je 0x4e2a62
mov esi, ecx
cmp esi, edi
je 0x4e2a44
nop dword [eax + eax]
mov ecx, esi
call fcn.0044d7a0
add esi, 0x18
cmp esi, edi
jne 0x4e2a30
mov ecx, dword [ebp - 0x380]
mov eax, dword [ebp - 0x36c]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
push eax
push ecx
call fcn.0044e250
mov esi, dword [ebp - 0x374]
lea ecx, [ebp - 0xf8]
call fcn.00537920
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x4e2a82
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.0044da60
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.00459bf0
mov eax, esi
jmp 0x4e2d09
call fcn.004486f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00531420
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x370]
mov ecx, esi
push str.Files_lookup:_Cannot_iterate_files_in_dir__0_._Error:__1
push 2
call fcn.00454910
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x4e2b19
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e2b0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2d29
push edx
push ecx
call fcn.006779b1
add esp, 8
mov edx, dword [ebp - 0x354]
xor esi, esi
mov ecx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x35c], esi
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x4e2b84
cmp eax, 0xffffffff
je 0x4e2b84
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x4e2bb2
mov dword [ebp - 0x364], eax
lea edx, [ebp - 0x364]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov esi, dword [ebp - 0x35c]
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x4e2bb2
mov edx, dword [ecx]
lea eax, [ebp - 0xf0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [ebp - 0x35c]
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4e2bf2
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e2be2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2d29
push edx
push ecx
call fcn.006779b1
mov esi, dword [ebp - 0x35c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
test esi, esi
je 0x4e2d07
mov edi, dword [ebp - 0x358]
cmp esi, edi
je 0x4e2cc6
add esi, 0x44
nop
mov ecx, dword [esi]
cmp ecx, 8
jb 0x4e2c59
mov eax, dword [esi - 0x14]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4e2c4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2d29
mov eax, edx
push ecx
push eax
call fcn.006779b1
add esp, 8
xor eax, eax
mov word [esi - 0x14], ax
mov dword [esi - 4], eax
mov dword [esi], 7
mov ecx, dword [esi - 0x30]
cmp ecx, 8
jb 0x4e2ca2
mov eax, dword [esi - 0x44]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4e2c98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2d29
mov eax, edx
push ecx
push eax
call fcn.006779b1
add esp, 8
xor eax, eax
mov word [esi - 0x44], ax
mov dword [esi - 0x34], eax
mov dword [esi - 0x30], 7
add esi, 0x50
lea eax, [esi - 0x44]
cmp eax, edi
jne 0x4e2c20
mov esi, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x354]
sub eax, esi
sar eax, 4
imul eax, eax, 0xcccccccd
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x4e2cf7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2d29
push ecx
push esi
call fcn.006779b1
mov edi, dword [ebp - 0x374]
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
ret
call fcn.00662591
call fcn.00682da2
int3