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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48411f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbe0
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0xb9c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xba0], eax
mov ecx, dword [ebp - 0xba0]
inc ecx
mov dword [ebp - 0xba4], ecx
mov edx, dword [ebp - 0xba0]
mov al, byte [edx]
mov byte [ebp - 0xba5], al
inc dword [ebp - 0xba0]
cmp byte [ebp - 0xba5], 0
jne 0x4180f3
mov ecx, dword [ebp - 0xba0]
sub ecx, dword [ebp - 0xba4]
mov dword [ebp - 0xbac], ecx
je 0x418139
push 0x48b0bc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403210
add esp, 8
test eax, eax
jne 0x41814f
push 0x48b0c0
lea eax, [ebp - 0x114]
push eax
call fcn.00463edd
add esp, 8
jmp 0x418167
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48b0c4
lea edx, [ebp - 0x114]
push edx
call fcn.00463edd
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x418191
xor eax, eax
jmp 0x418519
mov edx, dword [ebp + 0xc]
push edx
push str.Scan_Directory___s_
mov eax, dword [ebp - 0xb9c]
push eax
call fcn.0041e290
add esp, 0xc
mov ecx, dword [ebp - 0xb9c]
cmp dword [ecx + 0x534], 0
jne 0x4181cc
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x418519
mov eax, dword [ebp - 0x25c]
and eax, 0x10
je 0x418313
push 0x48b0e0
lea ecx, [ebp - 0x230]
push ecx
call fcn.00403210
add esp, 8
test eax, eax
je 0x41820b
push 0x48b0e4
lea edx, [ebp - 0x230]
push edx
call fcn.00403210
add esp, 8
test eax, eax
jne 0x418210
jmp 0x4184f8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbb0], eax
mov ecx, dword [ebp - 0xbb0]
inc ecx
mov dword [ebp - 0xbb4], ecx
mov edx, dword [ebp - 0xbb0]
mov al, byte [edx]
mov byte [ebp - 0xbb5], al
inc dword [ebp - 0xbb0]
cmp byte [ebp - 0xbb5], 0
jne 0x418226
mov ecx, dword [ebp - 0xbb0]
sub ecx, dword [ebp - 0xbb4]
mov dword [ebp - 0xbbc], ecx
je 0x41826c
push 0x48b0e8
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403210
add esp, 8
test eax, eax
jne 0x4182d5
lea eax, [ebp - 0x230]
mov dword [ebp - 0xbc0], eax
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0xbc4], ecx
mov edx, dword [ebp - 0xbc4]
mov dword [ebp - 0xbc8], edx
mov eax, dword [ebp - 0xbc0]
mov cl, byte [eax]
mov byte [ebp - 0xbc9], cl
mov edx, dword [ebp - 0xbc4]
mov al, byte [ebp - 0xbc9]
mov byte [edx], al
mov ecx, dword [ebp - 0xbc0]
add ecx, 1
mov dword [ebp - 0xbc0], ecx
mov edx, dword [ebp - 0xbc4]
add edx, 1
mov dword [ebp - 0xbc4], edx
cmp byte [ebp - 0xbc9], 0
jne 0x418290
jmp 0x4182f4
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48b0ec
lea edx, [ebp - 0x35c]
push edx
call fcn.00463edd
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xb9c]
call fcn.004180b0
jmp 0x4184f8
lea ecx, [ebp - 0xb98]
call fcn.00403c10
mov dword [ebp - 4], 0
mov ecx, 0x18e
xor eax, eax
lea edi, [ebp - 0x994]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbd0], eax
mov ecx, dword [ebp - 0xbd0]
inc ecx
mov dword [ebp - 0xbd4], ecx
mov edx, dword [ebp - 0xbd0]
mov al, byte [edx]
mov byte [ebp - 0xbd5], al
inc dword [ebp - 0xbd0]
cmp byte [ebp - 0xbd5], 0
jne 0x41834a
mov ecx, dword [ebp - 0xbd0]
sub ecx, dword [ebp - 0xbd4]
mov dword [ebp - 0xbdc], ecx
je 0x418390
push 0x48b0f4
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040ad70
add esp, 8
test eax, eax
jne 0x4183a4
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0xb98]
call fcn.004205a0
jmp 0x4183c3
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x48b0f8
lea eax, [ebp - 0xb98]
push eax
call fcn.0043ef60
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xbe0], ecx
mov edx, dword [ebp - 0xbe0]
inc edx
mov dword [ebp - 0xbe4], edx
mov eax, dword [ebp - 0xbe0]
mov cl, byte [eax]
mov byte [ebp - 0xbe5], cl
inc dword [ebp - 0xbe0]
cmp byte [ebp - 0xbe5], 0
jne 0x4183d9
mov edx, dword [ebp - 0xbe0]
sub edx, dword [ebp - 0xbe4]
mov dword [ebp - 0xbec], edx
je 0x41841e
push 0x48b0fe
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xb98]
call fcn.004052f0
push 0
lea ecx, [ebp - 0xb98]
call fcn.0041f5f0
movsx ecx, al
cmp ecx, 0x5c
jne 0x418458
push 0x100
lea ecx, [ebp - 0xb98]
call fcn.00420d30
add eax, 1
push eax
lea edx, [ebp - 0x994]
push edx
call fcn.004031d0
add esp, 0xc
jmp 0x418478
push 0x100
lea ecx, [ebp - 0xb98]
call fcn.00420d30
push eax
lea eax, [ebp - 0x994]
push eax
call fcn.004031d0
add esp, 0xc
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x780], ecx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x77c], edx
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x790], eax
lea ecx, [ebp - 0x994]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x48b100
lea eax, [ebp - 0xb94]
push eax
call fcn.00463edd
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0xb94]
push ecx
mov ecx, dword [ebp - 0xb9c]
call fcn.00419790
mov dword [ebp - 0x794], eax
lea edx, [ebp - 0x994]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00420360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb98]
call fcn.00403ca0
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4181a9
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret 0xc