Function at 0x403e10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e8d5
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x42f034]
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 edi, ecx
mov dword [ebp - 0x314], edi
xor ebx, ebx
mov dword [ebp - 0x310], ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004047a0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x70]
push 0x4225e4
push eax
call fcn.00405e80
add esp, 0xc
push 0x24c
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 1
push ebx
push eax
mov dword [ebp - 0x308], ebx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push str._s.
push eax
call fcn.00405e80
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x308]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x318], eax
cmp eax, 0xffffffff
jne 0x403ee5
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x40429b
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
lea eax, [ebp - 0x2dc]
push 0x4225fc
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40422b
lea eax, [ebp - 0x2dc]
push 0x422600
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40422b
cmp byte [edi + 0x30], 0
jne 0x4040b3
push 3
xor eax, eax
mov dword [ebp - 0x8c], 7
push 0x422608
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.004019d0
mov byte [ebp - 4], 4
xor eax, eax
or ebx, 1
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x310], ebx
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [ebp - 0x2dc], ax
je 0x403fbf
lea eax, [ebp - 0x2dc]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x58]
call fcn.004019d0
mov dword [ebp - 4], 5
or ebx, 2
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x310], ebx
cmp edi, edx
jb 0x404024
or ecx, 0xffffffff
lea eax, [ebp - 0xa0]
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebp - 0x8c], 8
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x58]
push eax
push edx
sub edi, edx
push edi
call fcn.00404470
test eax, eax
sete al
test al, al
jne 0x4040aa
push 0x422610
lea ecx, [ebp - 0xb8]
call fcn.00401ad0
lea eax, [ebp - 0x2dc]
mov dword [ebp - 4], 6
or ebx, 4
lea ecx, [ebp - 0x88]
push eax
mov dword [ebp - 0x310], ebx
call fcn.00401ad0
mov dword [ebp - 4], 7
or ebx, 8
mov edi, dword [ebp - 0x78]
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x310], ebx
cmp edi, edx
jb 0x4040b3
or ecx, 0xffffffff
lea eax, [ebp - 0xb8]
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebp - 0xa4], 8
push ecx
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x88]
push eax
push edx
sub edi, edx
push edi
call fcn.00404470
test eax, eax
sete al
test al, al
je 0x4040b3
mov byte [ebp - 0x309], 1
jmp 0x4040ba
mov byte [ebp - 0x309], 0
test bl, 8
je 0x4040ea
and ebx, 0xfffffff7
cmp dword [ebp - 0x74], 8
jb 0x4040d3
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
test bl, 4
je 0x404123
and ebx, 0xfffffffb
cmp dword [ebp - 0xa4], 8
jb 0x404106
push dword [ebp - 0xb8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
test bl, 2
je 0x40414d
and ebx, 0xfffffffd
cmp dword [ebp - 0x44], 8
jb 0x404139
push dword [ebp - 0x58]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 3
test bl, 1
je 0x404170
and ebx, 0xfffffffe
cmp dword [ebp - 0x8c], 8
jb 0x404170
push dword [ebp - 0xa0]
call esi
add esp, 4
cmp byte [ebp - 0x309], 0
jne 0x404248
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x2dc]
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x88]
push 0x42267c
push eax
call fcn.00405e80
mov edi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4041d8
cmp dword [ebp - 0x14], 8
jb 0x4041bb
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402950
cmp dword [ebp - 0x74], 8
jb 0x4041e9
push dword [ebp - 0x88]
call esi
add esp, 4
test byte [ebp - 0x308], 0x10
je 0x404225
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00401640
mov edi, dword [ebp - 0x314]
mov ecx, edi
call fcn.00403e10
jmp 0x40422b
mov edi, dword [ebp - 0x314]
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403f03
jmp 0x40426d
mov eax, dword [ebp - 0x314]
push str._AutoUodate_need_restart_service
push 1
push 0x6b
push 0x42263c
push str.CUpdateTask::EnumDir
mov byte [eax + 0x30], 1
call fcn.00412b20
add esp, 0x14
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x404287
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x2c], 8
jb 0x4042a9
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
jb 0x4042c7
push dword [ebp - 0x70]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp + 0x1c], 8
mov word [ebp - 0x70], ax
mov dword [ebp - 0x60], eax
jb 0x4042e5
push dword [ebp + 8]
call esi
add esp, 4
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.0041d982
mov esp, ebp
pop ebp
ret 0x18