Function at 0x407ea0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454aab
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x370], edi
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x354], edi
xorps xmm0, xmm0
mov dword [ebp - 0x34c], 1
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov eax, 0x7ffffffe
mov ecx, dword [edx + 0x10]
sub eax, ecx
mov dword [ebp - 0x34c], 1
cmp eax, 2
jb 0x408643
cmp dword [edx + 0x14], 7
jbe 0x407f3a
mov edx, dword [edx]
push 2
push 0x460d30
push ecx
push edx
push ecx
push dword [ebp - 0x354]
lea ecx, [ebp - 0x38c]
call fcn.00419c40
cmp dword [ebp - 0x378], 7
lea ecx, [ebp - 0x330]
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x34c], 5
cmova eax, dword [ebp - 0x38c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x378]
mov esi, eax
mov dword [ebp - 0x350], esi
cmp ecx, 7
jbe 0x407fc9
mov edx, dword [ebp - 0x38c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407fbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408648
push ecx
push edx
call fcn.00433928
add esp, 8
xor eax, eax
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 7
mov word [ebp - 0x38c], ax
cmp esi, 0xffffffff
je 0x408626
nop
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x304]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408010
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00417190
mov dword [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmova esi, eax
mov dword [ebp - 0x344], eax
cmp ecx, 1
jne 0x40807c
mov edx, ecx
mov ecx, 0x460d60
sub esi, ecx
nop word [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x408073
add ecx, 2
sub edx, 1
jne 0x408060
jmp 0x4080a5
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
lea esi, [ebp - 0x28]
cmova esi, eax
cmp ecx, 2
jne 0x4080f3
mov edx, ecx
mov ecx, 0x460d64
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4080f3
add ecx, 2
sub edx, 1
jne 0x408094
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x40859b
mov ecx, dword [ebp - 0x344]
lea edx, [eax*2 + 2]
mov esi, ecx
cmp edx, 0x1000
jb 0x4080ec
mov eax, dword [esi - 4]
add edx, 0x23
sub esi, eax
mov dword [ebp - 0x344], eax
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x408648
mov ecx, dword [ebp - 0x344]
push edx
push ecx
jmp 0x408593
push 0xb0
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.00435290
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.0040cf60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
test byte [ebp - 0x330], 0x10
mov eax, 0x460e1c
mov edx, str._FILE___
cmovne edx, eax
call fcn.00416210
mov edx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 4
jb 0x408643
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x344]
push 4
push str.__
push edx
cmova eax, ecx
push eax
push ecx
push dword [ebp - 0x354]
lea ecx, [ebp - 0x36c]
call fcn.00419c40
or dword [ebp - 0x34c], 2
mov byte [ebp - 4], 3
lea edx, [ebp - 0x36c]
cmp dword [ebp - 0x358], 7
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x35c]
cmova edx, dword [ebp - 0x36c]
call fcn.0041a980
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x358]
cmp ecx, 7
jbe 0x4081ec
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4081e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408648
push ecx
push edx
call fcn.00433928
add esp, 8
mov eax, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4083c8
push 0
lea eax, [ebp - 0x39c]
push 2
push eax
call fcn.00420057
add esp, 0xc
lea ecx, [ebp - 0xd0]
mov esi, eax
push dword [ebp - 0x340]
call fcn.0040d440
mov edx, 0x460e58
mov ecx, eax
call fcn.00416210
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push ecx
mov ecx, dword [esi]
call ecx
mov eax, dword [edi]
mov ecx, 0x30
push 0
push 2
mov eax, dword [eax + 4]
mov word [eax + edi + 0x40], cx
lea eax, [ebp - 0x3ac]
push eax
call fcn.00420057
add esp, 0x18
mov ecx, edi
mov esi, eax
push dword [ebp - 0x33e]
call fcn.0040d440
mov edx, 0x460e58
mov ecx, eax
call fcn.00416210
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push ecx
mov ecx, dword [esi]
call ecx
mov eax, dword [edi]
mov ecx, 0x30
push 0
push 2
mov eax, dword [eax + 4]
mov word [eax + edi + 0x40], cx
lea eax, [ebp - 0x3bc]
push eax
call fcn.00420057
add esp, 0x18
mov ecx, edi
mov esi, eax
push dword [ebp - 0x33a]
call fcn.0040d440
mov edx, 0x460e10
mov ecx, eax
call fcn.00416210
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push ecx
mov ecx, dword [esi]
call ecx
mov eax, dword [edi]
mov ecx, 0x30
push 0
push 2
mov eax, dword [eax + 4]
mov word [eax + edi + 0x40], cx
lea eax, [ebp - 0x3cc]
push eax
call fcn.00420057
add esp, 0x18
mov ecx, edi
mov esi, eax
push dword [ebp - 0x338]
call fcn.0040d440
mov edx, 0x460e54
mov ecx, eax
call fcn.00416210
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push ecx
mov ecx, dword [esi]
call ecx
mov eax, dword [edi]
mov ecx, 0x30
push 0
push 2
mov eax, dword [eax + 4]
mov word [eax + edi + 0x40], cx
lea eax, [ebp - 0x3dc]
push eax
call fcn.00420057
add esp, 0x18
mov ecx, edi
mov esi, eax
push dword [ebp - 0x336]
call fcn.0040d440
mov edx, 0x460e54
mov ecx, eax
call fcn.00416210
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push ecx
mov ecx, dword [esi]
call ecx
mov eax, dword [edi]
add esp, 0xc
mov ecx, 0x30
mov eax, dword [eax + 4]
mov word [eax + edi + 0x40], cx
mov ecx, edi
push dword [ebp - 0x334]
call fcn.0040d440
mov edi, dword [ebp - 0x370]
jmp 0x4083d8
mov edx, 0x460e5c
lea ecx, [ebp - 0xd0]
call fcn.00416210
test byte [ebp - 0x330], 0x10
jne 0x408472
mov edx, str.__
lea ecx, [ebp - 0xd0]
call fcn.00416210
push dword [ebp - 0x314]
lea ecx, [ebp - 0x36c]
push dword [ebp - 0x310]
call fcn.00403130
add esp, 8
mov byte [ebp - 4], 4
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x40841d
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.0041a980
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x358]
cmp ecx, 7
jbe 0x408472
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408468
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408648
push ecx
push edx
call fcn.00433928
add esp, 8
mov edx, str.___r_n
lea ecx, [ebp - 0xd0]
call fcn.00416210
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0040ce50
mov byte [ebp - 4], 5
mov esi, eax
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x344], eax
jbe 0x4084ae
mov esi, dword [eax]
mov dword [ebp - 0x344], esi
mov edx, dword [eax + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x4084f7
cmp dword [edi + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x374], eax
mov esi, edi
mov dword [edi + 0x10], eax
jbe 0x4084d3
mov esi, dword [edi]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x344]
lea ecx, [esi + ecx*2]
push ecx
call fcn.00434d10
mov eax, dword [ebp - 0x374]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x40850e
push edx
push esi
mov byte [ebp - 0x348], 0
mov ecx, edi
push dword [ebp - 0x348]
push edx
call fcn.00417f80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x358]
cmp ecx, 7
jbe 0x408552
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408548
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408648
push ecx
push edx
call fcn.00433928
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00407dd0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40859b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408591
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408648
push ecx
push edx
call fcn.00433928
add esp, 8
mov esi, dword [ebp - 0x350]
lea eax, [ebp - 0x330]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407ff0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 8
jb 0x408602
lea eax, [ecx + 8]
mov esi, edi
mov dword [ebp - 0x348], eax
mov dword [edi + 0x10], eax
cmp edx, 7
jbe 0x4085db
mov esi, dword [edi]
push 0x10
lea eax, [esi + ecx*2]
push str._END___
push eax
call fcn.00434d10
mov eax, dword [ebp - 0x348]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [ebp - 0x350]
jmp 0x40861f
push 8
push str._END___
mov byte [ebp - 0x348], 0
mov ecx, edi
push dword [ebp - 0x348]
push 8
call fcn.00417f80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004333df
mov esp, ebp
pop ebp
ret
call fcn.004015a0
call fcn.0043bda5
int3