Function at 0x418244
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3ac
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov dword [ebp - 0x60], 0x45e02c
mov dword [ebp - 0x5c], 0x463efc
mov dword [ebp - 0x58], ebp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x58], 0x41874e
mov dword [ebp - 0x74], 1
lea eax, [ebp - 0x7c]
call fcn.0045ec95
mov dword [esp + 4], esi
lea eax, [ebp - 0x3a8]
mov dword [esp], eax
call fcn.00417f5c
mov dword [ebp - 0x74], 2
lea eax, [ebp - 0x3a8]
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], str._.
call fcn.0041bd60
mov dword [ebp - 0xdc], 7
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], 0
mov edx, dword [eax + 0x18]
cmp edx, 7
ja 0x41833c
mov ecx, dword [eax + 0x14]
mov edi, eax
add edi, 4
inc ecx
je 0x418351
mov dword [ebp - 0x74], 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x40], edi
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x1c], eax
call fcn.0044d4e0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
lea esi, [ebp - 0xf0]
mov edi, dword [ebp - 0x40]
jmp 0x418351
mov edi, eax
add edi, 4
mov ecx, dword [eax + 4]
mov dword [ebp - 0xf0], ecx
mov dword [eax + 4], 0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
mov word [edi], 0
mov ecx, dword [ebp - 0x390]
cmp ecx, 8
jb 0x41839b
mov eax, dword [ebp - 0x3a4]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x418393
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
cmp dword [ebp - 0xdc], 7
jbe 0x4183aa
mov esi, dword [ebp - 0xf0]
mov dword [ebp - 0x74], 4
lea eax, [ebp - 0x3a8]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.DLL_FindFirstFileW
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41870d
lea esi, [ebp - 0x37c]
nop word cs:[eax + eax]
test byte [ebp - 0x3a8], 0x10
jne 0x4186cb
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], 0
cmp word [ebp - 0x37c], 0
je 0x418422
mov dword [esp], esi
call fcn.0044ce1c
jmp 0x418424
xor eax, eax
mov dword [ebp - 0x74], 5
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.0041b87c
mov dword [ebp - 0x74], 6
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00417f5c
mov dword [ebp - 0x74], 7
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x463d36
call fcn.0041bd60
mov edx, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
mov eax, dword [edx + 0x18]
cmp eax, 7
ja 0x4184e4
mov ecx, dword [edx + 0x14]
mov esi, edx
add esi, 4
inc ecx
je 0x4184f6
mov dword [ebp - 0x74], 8
mov dword [esp + 8], ecx
mov dword [ebp - 0xf8], esi
mov dword [esp + 4], esi
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x40], edx
call fcn.0044d4e0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
mov esi, dword [ebp - 0xf8]
jmp 0x4184f6
mov esi, edx
add esi, 4
mov ecx, dword [edx + 4]
mov dword [ebp - 0x38], ecx
mov dword [edx + 4], 0
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [edx + 0x18], 7
mov dword [edx + 0x14], 0
mov word [esi], 0
mov dword [ebp - 0x74], 9
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x154]
mov dword [esp], eax
call fcn.00417b10
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x41855a
mov eax, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x418552
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc0]
cmp ecx, 8
jb 0x418596
mov eax, dword [ebp - 0xd4]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41858e
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
mov dword [ebp - 0x74], 0xa
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00417d80
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], 0xb
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0040237c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x74], 0xc
lea ecx, [ebp - 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00418c74
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x418621
mov eax, dword [ebp - 0x38]
inc ecx
cmp ecx, 0x1000
jb 0x418619
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0
je 0x41867b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xcc]
sub ecx, eax
cmp ecx, 0x1000
mov eax, dword [ebp - 0x14]
jb 0x418655
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x13c]
cmp ecx, 8
jb 0x4186a3
mov eax, dword [ebp - 0x150]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41869b
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
mov ecx, dword [ebp - 0x120]
cmp ecx, 8
jb 0x4186cb
mov eax, dword [ebp - 0x134]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x4186c3
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
mov dword [ebp - 0x74], 0xd
lea eax, [ebp - 0x3a8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileW
sub esp, 8
test eax, eax
lea esi, [ebp - 0x37c]
jne 0x4183e4
mov dword [ebp - 0x74], 0xe
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindClose
sub esp, 4
mov ecx, dword [ebp - 0xdc]
cmp ecx, 8
jb 0x418735
mov eax, dword [ebp - 0xf0]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41872d
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.00440ea4
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0045ecb6
mov eax, dword [ebp + 8]
add esp, 0x3ac
pop esi
pop edi
pop ebx
pop ebp
ret