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

Disassembly:
push 0xffffffffffffffff
push 0x1f055d0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebp
push edi
xor edi, edi
push 0x24c
lea eax, [esp + 0x50]
push edi
or ebp, 0xffffffff
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x54], edi
call fcn.1f03f700
mov edx, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2d4]
add esp, 0xc
push edx
mov dword [ecx], edi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
je 0x1f003801
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
add esp, 0x29c
ret
mov eax, dword [esp + 0x2bc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1f003830
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
add esp, 0x29c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push esi
mov esi, dword [esp + 0x2b4]
push 2
push esi
call ebx
test eax, eax
jne 0x1f003865
mov ecx, dword [esp + 0x2bc]
mov eax, dword [esp + 0x2b8]
lea edx, [ecx*4]
push edx
push eax
call ebx
test eax, eax
je 0x1f00386c
xor eax, eax
jmp 0x1f003e9b
push 0x10
mov dword [esp + 0x2c], edi
call fcn.1f03e9a2
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2a8], edi
cmp eax, edi
je 0x1f00389d
push 0x1000
mov ecx, eax
call fcn.1f003750
mov ebx, eax
mov dword [esp + 0x2c], eax
jmp 0x1f0038a3
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x2a8], ebp
push 0x1000
lea ecx, [esp + 0x34]
call fcn.1f003750
mov dword [esp + 0x2a8], 1
push 0x1000
lea ecx, [esp + 0x44]
call fcn.1f003750
mov byte [esp + 0x2a8], 2
push 0x1000
lea ecx, [esp + 0x1c]
call fcn.1f003750
mov byte [esp + 0x2a8], 3
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1f0038f4
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebx
call fcn.1f007060
push 1
push 0x5c
mov ecx, ebx
call fcn.1f007010
test eax, eax
jne 0x1f003924
push 0x5c
mov ecx, ebx
call fcn.1f0070b0
mov esi, dword [esp + 0x2b0]
push ebx
push esi
call fcn.1f003700
add esp, 8
test eax, eax
je 0x1f0039a7
cmp ebx, edi
je 0x1f003956
cmp dword [ebx + 0xc], edi
je 0x1f00394d
mov eax, dword [ebx]
push eax
call fcn.1f03e97c
add esp, 4
push ebx
call fcn.1f03e97c
add esp, 4
mov byte [esp + 0x2a8], 2
cmp dword [esp + 0x24], edi
je 0x1f003971
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1f03e97c
add esp, 4
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x4c], edi
je 0x1f00398c
mov edx, dword [esp + 0x40]
push edx
call fcn.1f03e97c
add esp, 4
mov dword [esp + 0x2a8], ebp
cmp dword [esp + 0x3c], edi
je 0x1f003e96
mov eax, dword [esp + 0x30]
push eax
jmp 0x1f003e8e
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi]
lea ecx, [edx + esi]
mov edx, dword [eax + 8]
push ebx
call edx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.1f007060
xor ebp, ebp
cmp dword [esp + 0x2bc], edi
jbe 0x1f003b5a
jmp 0x1f0039e0
mov eax, dword [esp + 0x2b8]
mov ecx, dword [eax + ebp*4]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1f003b4c
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x1f003a08
xor edx, edx
mov word [eax], dx
mov dword [esp + 0x34], edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.1f007060
mov eax, dword [esp + 0x2b8]
mov ecx, dword [eax + ebp*4]
mov eax, ecx
lea esi, [eax + 2]
jmp 0x1f003a30
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x1f003a30
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.1f007060
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x1f003b4c
lea esp, [esp]
test byte [esp + 0x50], 0x10
je 0x1f003ae7
mov ecx, 0x1f057454
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f003aa6
cmp dx, di
je 0x1f003aa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f003aa6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1f003a80
xor eax, eax
jmp 0x1f003aab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1f003b29
mov ecx, 0x1f05744c
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f003ade
cmp dx, di
je 0x1f003ada
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f003ade
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1f003ab8
xor eax, eax
jmp 0x1f003ae3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1f003b29
mov ecx, dword [esp + 0x2cc]
mov eax, dword [ebx]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
call dword [esp + 0x2d4]
add esp, 0xc
test eax, eax
je 0x1f003c1a
cmp dword [esp + 0x2c4], edi
je 0x1f003b29
mov eax, dword [esp + 0x2c4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1f003c2c
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1f003a70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x10], 0xffffffff
inc ebp
cmp ebp, dword [esp + 0x2bc]
jb 0x1f0039e0
cmp dword [esp + 0x2c0], edi
je 0x1f003e1f
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.1f007060
push 0x2a
lea ecx, [esp + 0x44]
call fcn.1f0070b0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x1f003e42
mov eax, dword [esp + 0x2dc]
mov ebx, dword [esp + 0x2d8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2e0]
mov ebp, eax
cmp eax, edi
je 0x1f003bc6
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x14], edi
push 0x2000
call fcn.1f03e9a2
mov edi, dword [esp + 0x2d8]
add esp, 4
mov dword [esp + 0x28], eax
mov edi, edi
test byte [esp + 0x50], 0x10
je 0x1f003de0
mov ecx, 0x1f057454
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f003c3e
test dx, dx
je 0x1f003c16
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f003c3e
add eax, 4
add ecx, 4
test dx, dx
jne 0x1f003bf4
xor eax, eax
jmp 0x1f003c43
mov edx, dword [esp + 0x2d0]
mov dword [edx], 1
jmp 0x1f003e1f
mov eax, dword [esp + 0x2d0]
mov dword [eax], 1
jmp 0x1f003e1f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1f003df8
mov ecx, 0x1f05744c
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f003c7a
test dx, dx
je 0x1f003c76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f003c7a
add eax, 4
add ecx, 4
test dx, dx
jne 0x1f003c54
xor eax, eax
jmp 0x1f003c7f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1f003df8
xor esi, esi
cmp dword [esp + 0x2d8], esi
jbe 0x1f003cc1
mov ecx, dword [esp + 0x2dc]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
push eax
lea edx, [esp + 0x80]
push edx
call fcn.1f03ecf3
add esp, 8
test eax, eax
je 0x1f003df8
inc esi
cmp esi, dword [esp + 0x2d8]
jb 0x1f003c92
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1f003cce
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.1f007060
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1f003cf1
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x20]
call fcn.1f007060
test edi, edi
je 0x1f003d6a
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push 0x1000
push esi
push eax
call fcn.1f004730
add esp, 0xc
test eax, eax
je 0x1f003d6a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1f003d3e
xor ecx, ecx
mov word [eax], cx
mov eax, esi
mov dword [esp + 0x1c], 0
lea edx, [eax + 2]
jmp 0x1f003d50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1f003d50
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.1f007060
push 1
push 0x5c
lea ecx, [esp + 0x20]
call fcn.1f007010
test eax, eax
jne 0x1f003d86
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.1f0070b0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x2d0]
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c8]
push ebp
push edx
mov edx, dword [esp + 0x2cc]
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x2d8]
push ecx
mov ecx, dword [esp + 0x2d8]
push edx
mov edx, dword [esp + 0x2d8]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2d8]
push edx
push eax
push ecx
call fcn.1f003790
add esp, 0x34
cmp dword [esi], 0
jne 0x1f003e1f
mov eax, dword [esp + 0x2c4]
test eax, eax
je 0x1f003df8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1f003e12
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1f003be0
jmp 0x1f003e1f
mov ecx, dword [esp + 0x2d0]
mov dword [ecx], 1
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1f003e2f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
je 0x1f003e42
push eax
call fcn.1f03e97c
add esp, 4
mov byte [esp + 0x2a8], 2
cmp dword [esp + 0x24], edi
je 0x1f003e5d
mov edx, dword [esp + 0x18]
push edx
call fcn.1f03e97c
add esp, 4
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x4c], edi
je 0x1f003e78
mov eax, dword [esp + 0x40]
push eax
call fcn.1f03e97c
add esp, 4
mov dword [esp + 0x2a8], 0xffffffff
cmp dword [esp + 0x3c], edi
je 0x1f003e96
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1f03e97c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2a0]
pop esi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x29c
ret