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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a98cd
mov eax, dword fs:[0]
push eax
sub esp, 0x704
mov eax, dword [0x100dc008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70c], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov dword [ebp - 4], eax
test esi, esi
jne 0x1004b725
cmp word [ebx], ax
jne 0x1004b70d
xor ecx, ecx
push ecx
push ebx
jmp 0x1004b782
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004b712
sub ecx, edx
sar ecx, 1
push ecx
push ebx
jmp 0x1004b782
cmp word [ebx], 0
jne 0x1004b72f
xor ecx, ecx
jmp 0x1004b743
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004b734
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x438]
call fcn.10018a40
push 1
push 0x100d5fe8
lea ecx, [ebp - 0x438]
call fcn.10018a40
cmp word [esi], 0
jne 0x1004b76c
xor ecx, ecx
jmp 0x1004b780
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004b771
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.10018a40
push 2
push 0x100d6040
lea ecx, [ebp - 0x438]
call fcn.10018a40
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x708]
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x710], eax
cmp eax, 0xffffffff
jne 0x1004b7d6
mov esi, 0x80070057
jmp 0x1004bb52
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
nop dword [eax]
push 0x100d2d80
lea eax, [ebp - 0x6dc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1004bb29
push 0x100d32ec
lea eax, [ebp - 0x6dc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1004bb29
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008b230
add esp, 0xc
lea eax, [ebp - 0x6dc]
push eax
lea eax, [ebp - 0x218]
test esi, esi
jne 0x1004b844
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1004b850
push esi
push str._s_s
push eax
call edi
add esp, 0x10
xor eax, eax
test byte [ebp - 0x708], 0x10
je 0x1004ba00
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], eax
mov word [ebp - 0x454], ax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x708]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x700]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x704]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x6f0]
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x6f4]
movlpd qword [ebp - 0x478], xmm0
mov dword [ebp - 0x45c], eax
jne 0x1004b91d
xor ecx, ecx
jmp 0x1004b935
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004b926
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x454]
call fcn.10017370
mov ecx, dword [ebp - 0x70c]
lea eax, [ebp - 0x478]
push eax
add ecx, 0x2c
call fcn.1004be00
push 0x100d5fe8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1008b230
add esp, 0xc
lea eax, [ebp - 0x6dc]
push eax
lea eax, [ebp - 0x420]
test esi, esi
jne 0x1004b9a3
push 0x100d6054
push eax
call edi
add esp, 0xc
jmp 0x1004b9af
push esi
push str._s_s
push eax
call edi
add esp, 0x10
mov ecx, dword [ebp - 0x70c]
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.1004b690
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x440]
cmp eax, 8
jb 0x1004b9de
inc eax
push eax
push dword [ebp - 0x454]
call fcn.10017a90
xor eax, eax
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
jmp 0x1004bb26
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x480], 7
mov dword [ebp - 0x484], 0
mov word [ebp - 0x494], ax
mov byte [ebp - 4], 4
cmp word [ebp - 0x218], 0
mov eax, dword [ebp - 0x6e8]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x6ec]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x708]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x700]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x704]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x6f0]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x6f4]
mov dword [ebp - 0x49c], eax
jne 0x1004baad
xor ecx, ecx
jmp 0x1004bac5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004bab6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x494]
call fcn.10017370
mov ecx, dword [ebp - 0x70c]
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ecx + 0x2c]
call fcn.1004be00
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x480]
cmp eax, 8
jb 0x1004bb09
inc eax
push eax
push dword [ebp - 0x494]
call fcn.10017a90
xor eax, eax
mov dword [ebp - 0x480], 7
mov dword [ebp - 0x484], 0
mov word [ebp - 0x494], ax
mov byte [ebp - 4], al
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x710]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1004b7e0
push dword [ebp - 0x710]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x1004bb71
inc eax
push eax
push dword [ebp - 0x438]
call fcn.10017a90
xor eax, eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov eax, esi
mov dword [ebp - 0x428], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret 8