Function at 0x407e50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e067
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x496d50]
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 eax, dword [ebp + 0x24]
mov dword [ebp - 0x31c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x310], ebx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2fc], ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.004015e0
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.004015e0
push 2
mov eax, 0x474758
lea esi, [ebp - 0x48]
call fcn.00412040
xor ecx, ecx
push 0xa
mov word [ebp - 0x2c], cx
push str._NLU__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00401740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x318]
mov byte [ebp - 4], 7
call fcn.0040ecc0
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x407f64
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044e60d
add esp, 4
push 4
xor eax, eax
push 0x474778
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00401740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x304]
mov byte [ebp - 4], 8
call fcn.0040ecc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x407faa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0044e60d
add esp, 4
push 4
xor edx, edx
push 0x474784
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00401740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x304]
mov byte [ebp - 4], 9
call fcn.0040ecc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x407ff0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
push 5
mov word [ebp - 0x2c], cx
push str._n._
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00401740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x304]
mov byte [ebp - 4], 0xa
call fcn.0040ecc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x408036
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044e60d
add esp, 4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x408041
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x308], eax
jmp 0x408060
cmp dword [ebp - 0x308], 0xffffffff
je 0x4082a3
mov ecx, 0x4746a0
lea eax, [ebp - 0x2c4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40809e
test dx, dx
je 0x40809a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40809e
add eax, 4
add ecx, 4
test dx, dx
jne 0x408078
xor eax, eax
jmp 0x4080a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4082a3
mov ecx, 0x4746a4
lea eax, [ebp - 0x2c4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4080dc
test dx, dx
je 0x4080d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4080dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4080b6
xor eax, eax
jmp 0x4080e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4082a3
test byte [ebp - 0x2f0], 0x10
mov dword [ebp - 0x2f4], 0
mov eax, 0x92492493
je 0x4081d8
mov ecx, dword [ebp - 0x314]
sub ecx, dword [ebp - 0x318]
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x4082a3
mov esi, dword [ebp - 0x318]
jmp 0x408130
lea edx, [ebp - 0x64]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x324], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.004015e0
push 0x4743e0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xb
call fcn.00414c90
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edi, esp
mov dword [ebp - 0x320], esp
push eax
lea eax, [ebp - 0x2c4]
call fcn.00414ee0
add esp, 4
mov byte [ebp - 4], 0xd
call fcn.00426980
add esp, 0x3c
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov edi, eax
jb 0x4081b3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044e60d
add esp, 4
test edi, edi
jne 0x4083fe
mov eax, dword [ebp - 0x2f4]
inc eax
add esi, 0x1c
mov dword [ebp - 0x2f4], eax
cmp eax, ebx
jb 0x408130
jmp 0x4082a3
mov ecx, dword [ebp - 0x300]
mov esi, dword [ebp - 0x304]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x4082a3
lea ebx, [ebx]
lea ecx, [ebp - 0x64]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x320], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], dx
call fcn.004015e0
push 0x4743e0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00414c90
sub esp, 0x10
mov byte [ebp - 4], 0xf
mov edi, esp
mov dword [ebp - 0x324], esp
push eax
lea eax, [ebp - 0x2c4]
call fcn.00414ee0
add esp, 4
mov byte [ebp - 4], 0x10
call fcn.00426980
add esp, 0x3c
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov edi, eax
jb 0x408283
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044e60d
add esp, 4
test edi, edi
jne 0x40853d
mov eax, dword [ebp - 0x2f4]
inc eax
add esi, 0x1c
mov dword [ebp - 0x2f4], eax
cmp eax, ebx
jb 0x408200
mov esi, dword [ebp - 0x308]
lea eax, [ebp - 0x2f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408060
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x4082dc
mov edx, dword [ebp - 0x48]
push edx
call fcn.0044e60d
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], edi
jb 0x408300
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], edi
jb 0x40831d
mov eax, dword [ebp - 0x64]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x304], ebx
je 0x40837c
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0x408368
cmp dword [esi + 0x14], 8
jb 0x408352
mov edx, dword [esi]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x408341
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.0044e60d
add esp, 4
mov edi, 8
cmp dword [ebp - 0x318], ebx
je 0x4083cf
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
cmp esi, edi
je 0x4083bb
cmp dword [esi + 0x14], 8
jb 0x4083a5
mov edx, dword [esi]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x408394
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.0044e60d
add esp, 4
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0x4083e0
mov edx, dword [ebp + 8]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
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.0044e488
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x308]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x31c]
lea ecx, [ebp + 8]
call fcn.0040ecc0
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x40842f
mov edx, dword [ebp - 0x48]
push edx
call fcn.0044e60d
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], edi
jb 0x408453
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], edi
jb 0x408470
mov eax, dword [ebp - 0x64]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x304], ebx
je 0x4084cf
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0x4084bb
cmp dword [esi + 0x14], 8
jb 0x4084a5
mov edx, dword [esi]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x408494
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.0044e60d
add esp, 4
mov edi, 8
cmp dword [ebp - 0x318], ebx
je 0x408522
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
cmp esi, edi
je 0x40850e
cmp dword [esi + 0x14], 8
jb 0x4084f8
mov edx, dword [esi]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x4084e7
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.0044e60d
add esp, 4
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0x408533
mov edx, dword [ebp + 8]
push edx
call fcn.0044e60d
add esp, 4
mov eax, 1
jmp 0x4083e2
mov eax, dword [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x31c]
lea ecx, [ebp + 8]
call fcn.0040ecc0
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x40856e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0044e60d
add esp, 4
xor ebx, ebx
xor edx, edx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x6c], edi
jb 0x408592
mov eax, dword [ebp - 0x80]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], edi
jb 0x4085af
mov edx, dword [ebp - 0x64]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x304], ebx
je 0x40860e
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0x4085fa
cmp dword [esi + 0x14], 8
jb 0x4085e4
mov ecx, dword [esi]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x4085d3
mov eax, dword [ebp - 0x304]
push eax
call fcn.0044e60d
add esp, 4
mov edi, 8
cmp dword [ebp - 0x318], ebx
je 0x408661
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
cmp esi, edi
je 0x40864d
cmp dword [esi + 0x14], 8
jb 0x408637
mov ecx, dword [esi]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x408626
mov eax, dword [ebp - 0x318]
push eax
call fcn.0044e60d
add esp, 4
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0x408533
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044e60d
add esp, 4
mov eax, 1
jmp 0x4083e2