Function at 0x417d30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4396eb
mov eax, dword fs:[0]
push eax
mov eax, 0x344c
call fcn.0041ba20
mov eax, dword [0x450068]
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 esi, edx
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
push 0
push eax
call fcn.0041d060
push 0x1000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.0041d060
push 0x1000
lea eax, [ebp - 0x3010]
push 0
push eax
call fcn.0041d060
push 0x1dc
lea eax, [ebp - 0x31f0]
push 0
push eax
call fcn.0041d060
add esp, 0x30
lea ecx, [ebp - 0x31f0]
push esi
call fcn.0040bdb0
push edi
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], 0
push str._s
push eax
call fcn.004196d0
add esp, 0xc
mov dword [ebp - 0x3014], 0
lea eax, [ebp - 0x3014]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x417f25
cmp dword [ebp - 0x3014], 0
je 0x417f25
push str._system32_
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x417f25
sub esp, 8
lea edx, [ebp - 0x1010]
lea ecx, [ebp - 0x3458]
call fcn.00413580
cmp dword [ebp - 0x3444], 8
lea eax, [ebp - 0x3458]
cmovae eax, dword [ebp - 0x3458]
push eax
lea eax, [ebp - 0x1010]
push 0x447d64
push eax
call fcn.004196d0
mov edx, dword [ebp - 0x3444]
add esp, 0x14
cmp edx, 8
jb 0x417eaa
mov ecx, dword [ebp - 0x3458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418085
push edx
push ecx
call fcn.0041aec9
add esp, 8
sub esp, 8
lea ecx, [ebp - 0x3458]
mov edx, edi
call fcn.00413580
cmp dword [ebp - 0x3444], 8
lea eax, [ebp - 0x3458]
cmovae eax, dword [ebp - 0x3458]
push eax
lea eax, [ebp - 0x2010]
push 0x447d64
push eax
call fcn.004196d0
mov edx, dword [ebp - 0x3444]
add esp, 0x14
cmp edx, 8
jb 0x417f3a
mov ecx, dword [ebp - 0x3458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41808a
push edx
push ecx
call fcn.0041aec9
add esp, 8
jmp 0x417f3a
push edi
lea eax, [ebp - 0x2010]
push 0x447d64
push eax
call fcn.004196d0
add esp, 0xc
lea eax, [ebp - 0x3440]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x417f69
push 0
push 0x44b0c4
call fcn.004116a0
add esp, 8
jmp 0x41805e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test byte [ebp - 0x3440], 0x10
je 0x417ff1
mov ecx, 0x44b00c
lea eax, [ebp - 0x3414]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417faa
test dx, dx
je 0x417fa6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417faa
add eax, 4
add ecx, 4
test dx, dx
jne 0x417f84
xor eax, eax
jmp 0x417faf
sbb eax, eax
or eax, 1
test eax, eax
je 0x418045
mov eax, 0x44b0e4
lea ecx, [ebp - 0x3414]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x417fe8
test dx, dx
je 0x417fe4
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x417fe8
add ecx, 4
add eax, 4
test dx, dx
jne 0x417fc2
xor eax, eax
jmp 0x417fed
sbb eax, eax
or eax, 1
test eax, eax
je 0x418045
lea eax, [ebp - 0x3414]
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x3010]
push str._s_s
push eax
call fcn.004196d0
add esp, 0xc
lea eax, [ebp - 0x3440]
lea ecx, [ebp - 0x31f0]
push 0
push eax
lea eax, [ebp - 0x3010]
push eax
call fcn.0040c8a0
push ebx
lea ecx, [ebp - 0x31f0]
call fcn.0040cec0
lea ecx, [ebp - 0x31f0]
call fcn.0040c7a0
lea eax, [ebp - 0x3440]
push eax
push esi
call edi
test eax, eax
jne 0x417f70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x31f0]
call fcn.0040bf90
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.0041aaeb
mov esp, ebp
pop ebp
ret
call fcn.00422e9e
call fcn.00422e9e
int3