Function at 0x10048610
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad651
mov eax, dword fs:[0]
push eax
sub esp, 0x718
mov eax, dword [0x100de040]
xor eax, esp
mov dword [esp + 0x710], eax
push ebx
push esi
push edi
mov eax, dword [0x100de040]
xor eax, esp
push eax
lea eax, [esp + 0x728]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
mov eax, esi
mov dword [esp + 0x730], ebx
lea edx, [eax + 2]
cmp edi, ebx
jne 0x100486a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048687
sub eax, edx
sar eax, 1
push eax
push esi
jmp 0x100486e1
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100486a0
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [esp + 0x28]
call fcn.10002450
push 1
push 0x100d4c88
lea eax, [esp + 0x28]
call fcn.10002450
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100486d0
sub eax, edx
sar eax, 1
push eax
push edi
lea eax, [esp + 0x28]
call fcn.10002450
push 2
push 0x100d4c8c
lea eax, [esp + 0x28]
call fcn.10002450
mov eax, dword [esp + 0x24]
mov esi, 8
cmp dword [esp + 0x38], esi
jae 0x1004870d
lea eax, [esp + 0x24]
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x10048742
cmp dword [esp + 0x38], esi
jb 0x10048738
mov edx, dword [esp + 0x24]
push edx
call fcn.1006243d
add esp, 4
mov eax, 0x80070057
jmp 0x10048a6d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x100d3ce4
lea eax, [esp + 0xec]
push eax
call esi
test eax, eax
je 0x10048a31
push 0x100d43d8
lea ecx, [esp + 0xec]
push ecx
call esi
test eax, eax
je 0x10048a31
push 0x206
lea eax, [esp + 0x312]
xor edx, edx
push ebx
push eax
mov word [esp + 0x318], dx
call fcn.10064e10
add esp, 0xc
cmp edi, ebx
jne 0x100487b2
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x310]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x100487d1
lea eax, [esp + 0xe8]
push eax
push edi
lea ecx, [esp + 0x314]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [esp + 0xbc]
test al, 0x10
je 0x1004895b
xor edx, edx
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], dx
mov byte [esp + 0x730], 1
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x30c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x9c], ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048874
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x310]
push eax
lea esi, [esp + 0xa8]
call fcn.10002530
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
push ecx
add edi, 0x48
call fcn.100491e0
push 0x100d4c88
lea edx, [esp + 0x310]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x206
lea ecx, [esp + 0x51a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x520], ax
call fcn.10064e10
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, ebx
jne 0x10048904
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x518]
push 0x100d4ca0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x10048923
lea ecx, [esp + 0xe8]
push ecx
push eax
lea edx, [esp + 0x51c]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x514]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.10048610
mov byte [esp + 0x730], bl
cmp dword [esp + 0xb8], 8
jb 0x10048a2d
mov edx, dword [esp + 0xa4]
push edx
jmp 0x10048a25
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov byte [esp + 0x730], 2
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x30c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100489e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x310]
push edx
lea esi, [esp + 0x68]
call fcn.10002530
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
add edi, 0x48
call fcn.100491e0
mov byte [esp + 0x730], bl
cmp dword [esp + 0x78], 8
jb 0x10048a2d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1006243d
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xbc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10048742
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x38], 8
jb 0x10048a6b
mov edx, dword [esp + 0x24]
push edx
call fcn.1006243d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x728]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x710]
xor ecx, esp
call fcn.10062448
mov esp, ebp
pop ebp
ret 8