Function at 0x414690
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d35c
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x48d06c]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x480], eax
test esi, esi
jne 0x4146d5
xor eax, eax
jmp 0x4149b7
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00424870
push 0x104
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.00438b2e
add esp, 0x18
test eax, eax
je 0x4146ce
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x4149d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x474]
call fcn.00409340
test al, al
jne 0x414766
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414744
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.00409090
push 1
lea eax, [ebp - 0x478]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x474]
call fcn.00414cb0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x41479d
test ecx, ecx
js 0x4149df
cmp word [eax], 0x5c
jne 0x41479d
xor bl, bl
jmp 0x41479f
mov bl, 1
mov edx, dword [ebp - 0x478]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4147bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x474]
test bl, bl
je 0x414818
mov ebx, dword [esi - 0xc]
lea edi, [ebx + 1]
test edi, edi
js 0x4149e9
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4147fa
push edi
lea ecx, [ebp - 0x474]
call fcn.00408a90
mov esi, dword [ebp - 0x474]
mov eax, 0x5c
mov word [esi + ebx*2], ax
cmp edi, dword [esi - 8]
jg 0x4149df
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
or edi, 0xffffffff
push 0x476674
lea edx, [ebp - 0x474]
lea ecx, [ebp - 0x47c]
call fcn.0040ccc0
add esp, 4
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x414975
mov esi, dword [ebp - 0x480]
nop dword [eax]
mov edx, 0x476618
lea ecx, [ebp - 0x444]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x414896
test ax, ax
je 0x414892
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x414896
add ecx, 4
add edx, 4
test ax, ax
jne 0x414870
xor eax, eax
jmp 0x41489b
sbb eax, eax
or eax, 1
test eax, eax
je 0x414952
mov ecx, 0x47661c
lea eax, [ebp - 0x444]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4148d6
test dx, dx
je 0x4148d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4148d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4148b0
xor eax, eax
jmp 0x4148db
sbb eax, eax
or eax, 1
test eax, eax
je 0x414952
lea eax, [ebp - 0x444]
push eax
lea edx, [ebp - 0x474]
lea ecx, [ebp - 0x478]
call fcn.0040ccc0
add esp, 4
mov byte [ebp - 4], 3
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x41491f
mov ecx, dword [ebp - 0x478]
lea ecx, [ecx - 0x10]
call fcn.004094a0
add eax, 0x10
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x41492e
lea eax, [ebp - 0x478]
mov ecx, esi
push eax
push edi
call fcn.0040e600
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x478]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414952
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x470]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414860
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x474]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x47c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414996
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4149b2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
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.00422308
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408740
push 0x80070057
call fcn.00408740
push 0x80070057
call fcn.00408740
int3