Function at 0x417be0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14c4
call fcn.004981d0
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x4d9ea8
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x100c], 7
call fcn.00416200
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0049b560
mov ecx, dword [0x506568]
add esp, 0xc
test ecx, ecx
jne 0x417c6f
push 0x20d0
call fcn.0049786c
add esp, 4
mov ecx, eax
call fcn.00414c70
mov ecx, eax
mov dword [0x506568], eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [0x506568]
add ecx, 0x20c
lea edx, [ebp - 0x808]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x417c80
lea ecx, [ebp - 0x808]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x417ca0
mov eax, dword [str.SDK.]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ecx], eax
mov eax, dword [0x4ddc24]
mov dword [ecx + 4], eax
mov eax, dword [0x4ddc28]
mov dword [ecx + 8], eax
mov eax, dword [0x4ddc2c]
mov dword [ecx + 0xc], eax
mov ax, word [0x4ddc30]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x1270]
push eax
lea eax, [ebp - 0x808]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x417f7f
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
mov edx, 0x4dd608
lea ecx, [ebp - 0x1244]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x417d36
test ax, ax
je 0x417d32
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x417d36
add ecx, 4
add edx, 4
test ax, ax
jne 0x417d10
xor eax, eax
jmp 0x417d3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x417d88
mov ecx, 0x4dd274
lea eax, [ebp - 0x1244]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417d76
test dx, dx
je 0x417d72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417d76
add eax, 4
add ecx, 4
test dx, dx
jne 0x417d50
xor eax, eax
jmp 0x417d7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x417d88
test byte [ebp - 0x1270], 0x10
jne 0x417d9c
lea eax, [ebp - 0x1270]
push eax
push esi
call ebx
test eax, eax
jne 0x417d00
jmp 0x417dc7
lea ecx, [ebp - 0x1244]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417da5
sub ecx, edx
lea eax, [ebp - 0x1244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1020]
call fcn.004163b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x800
lea eax, [ebp - 0x1008]
mov bl, 1
push 0
push eax
call fcn.0049b560
mov ecx, dword [0x506568]
add esp, 0xc
test ecx, ecx
jne 0x417e15
push 0x20d0
call fcn.0049786c
add esp, 4
mov ecx, eax
call fcn.00414c70
mov ecx, eax
mov dword [0x506568], eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [0x506568]
add ecx, 0x1a84
lea edx, [ebp - 0x1008]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x417e23
lea ecx, [ebp - 0x1008]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x417e40
mov eax, dword [str..]
mov dword [ecx], eax
mov eax, dword [0x4dd600]
mov dword [ecx + 4], eax
mov ax, word [0x4dd604]
mov word [ecx + 8], ax
lea eax, [ebp - 0x14c0]
push eax
lea eax, [ebp - 0x1008]
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x417f81
mov edx, 0x4dd608
lea ecx, [ebp - 0x1494]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x417eb6
test ax, ax
je 0x417eb2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x417eb6
add ecx, 4
add edx, 4
test ax, ax
jne 0x417e90
xor eax, eax
jmp 0x417ebb
sbb eax, eax
or eax, 1
test eax, eax
je 0x417f55
mov ecx, 0x4dd274
lea eax, [ebp - 0x1494]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417ef6
test dx, dx
je 0x417ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x417ed0
xor eax, eax
jmp 0x417efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x417f55
test byte [ebp - 0x14c0], 0x10
je 0x417f55
cmp dword [ebp - 0x100c], 8
lea esi, [ebp - 0x1020]
cmovae esi, dword [ebp - 0x1020]
cmp dword [0x506568], 0
jne 0x417f44
push 0x20d0
call fcn.0049786c
add esp, 4
mov ecx, eax
call fcn.00414c70
mov ecx, eax
mov dword [0x506568], eax
mov edx, dword [eax]
call dword [edx]
lea eax, [ebp - 0x1494]
push eax
push esi
call fcn.004131e0
test eax, eax
jg 0x417f74
lea eax, [ebp - 0x14c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417e80
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417f81
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417f81
xor bl, bl
mov edx, dword [ebp - 0x100c]
cmp edx, 8
jb 0x417fbd
mov ecx, dword [ebp - 0x1020]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417fb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417fd0
push edx
push ecx
call fcn.0049789c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret
call fcn.0049e530
int3