Function at 0x4092c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5145c5
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x39c], 0
lea ecx, [ebp - 0x58]
call fcn.00415660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00415660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00415660
mov byte [ebp - 4], 2
push 0x527624
push 0x527628
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0040ea40
add esp, 0xc
mov dword [ebp - 0x3f4], eax
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040e970
add esp, 0xc
mov dword [ebp - 0x3ec], eax
mov edx, dword [ebp - 0x3ec]
push edx
lea ecx, [ebp - 0x58]
call fcn.00418640
lea ecx, [ebp - 0x88]
call fcn.00417930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00417930
mov dword [ebp - 0x3a4], 0
push 0x250
push 0
lea eax, [ebp - 0x398]
push eax
call fcn.004ca660
add esp, 0xc
lea ecx, [ebp - 0x398]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00420220
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0xffffffff
jne 0x40941d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3a4], eax
mov edx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3e8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00417930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00417930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00417930
mov eax, dword [ebp - 0x3e8]
jmp 0x409827
mov eax, dword [ebp - 0x398]
and eax, 0x10
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041ffd0
push 0x52762c
lea ecx, [ebp - 0x130]
call fcn.00415150
mov dword [ebp - 0x3e4], eax
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x39c]
or eax, 1
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040e760
add esp, 8
movzx eax, al
test eax, eax
je 0x4094d5
push 0x527630
lea ecx, [ebp - 0x148]
call fcn.00415150
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x39c]
or ecx, 2
mov dword [ebp - 0x39c], ecx
mov edx, dword [ebp - 0x3dc]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040e760
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4094d5
mov dword [ebp - 0x3b4], 1
jmp 0x4094df
mov dword [ebp - 0x3b4], 0
mov dl, byte [ebp - 0x3b4]
mov byte [ebp - 0x39e], dl
mov eax, dword [ebp - 0x39c]
and eax, 2
je 0x409508
and dword [ebp - 0x39c], 0xfffffffd
lea ecx, [ebp - 0x148]
call fcn.00417930
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x39c]
and ecx, 1
je 0x40952c
and dword [ebp - 0x39c], 0xfffffffe
lea ecx, [ebp - 0x130]
call fcn.00417930
movzx edx, byte [ebp - 0x39e]
test edx, edx
je 0x4095df
lea eax, [ebp - 0x28]
push eax
push 0x527638
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.0040ea40
add esp, 0xc
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3d4]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0040e930
add esp, 0xc
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00418640
lea ecx, [ebp - 0x118]
call fcn.00417930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
call fcn.00417930
cmp dword [ebp - 0x3a8], 0x10
jne 0x4095c9
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00422f10
jmp 0x4095df
mov dword [ebp - 0x3a4], 0
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00422f10
mov byte [ebp - 0x39d], 1
movzx eax, byte [ebp - 0x39d]
test eax, eax
je 0x4097e1
lea ecx, [ebp - 0x398]
push ecx
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4097d5
mov eax, dword [ebp - 0x398]
and eax, 0x10
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041ffd0
push 0x52763c
lea ecx, [ebp - 0xd0]
call fcn.00415150
mov dword [ebp - 0x3cc], eax
mov edx, dword [ebp - 0x3cc]
mov dword [ebp - 0x3f8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x39c]
or eax, 4
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040e760
add esp, 8
movzx eax, al
test eax, eax
je 0x4096c9
push 0x527640
lea ecx, [ebp - 0xe8]
call fcn.00415150
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x39c]
or ecx, 8
mov dword [ebp - 0x39c], ecx
mov edx, dword [ebp - 0x3b8]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040e760
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4096c9
mov dword [ebp - 0x3b0], 1
jmp 0x4096d3
mov dword [ebp - 0x3b0], 0
mov dl, byte [ebp - 0x3b0]
mov byte [ebp - 0x39f], dl
mov eax, dword [ebp - 0x39c]
and eax, 8
je 0x4096fc
and dword [ebp - 0x39c], 0xfffffff7
lea ecx, [ebp - 0xe8]
call fcn.00417930
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x39c]
and ecx, 4
je 0x409720
and dword [ebp - 0x39c], 0xfffffffb
lea ecx, [ebp - 0xd0]
call fcn.00417930
movzx edx, byte [ebp - 0x39f]
test edx, edx
je 0x4097d3
lea eax, [ebp - 0x28]
push eax
push 0x527648
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.0040ea40
add esp, 0xc
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3bc]
mov dword [ebp - 0x3c0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3c0]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.0040e930
add esp, 0xc
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x3c4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00418640
lea ecx, [ebp - 0xb8]
call fcn.00417930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00417930
cmp dword [ebp - 0x3a8], 0x10
jne 0x4097bd
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00422f10
jmp 0x4097d3
mov dword [ebp - 0x3a4], 0
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00422f10
jmp 0x4097dc
mov byte [ebp - 0x39d], 0
jmp 0x4095e6
mov eax, dword [ebp - 0x3ac]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3c8], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00417930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00417930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00417930
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret