Function at 0x409fb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c9cf
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x490004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2fc], edx
mov esi, ecx
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x304], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x30c], esi
xor edi, edi
push 0x482de4
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x2f4], edi
call fcn.00411410
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2f0]
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x300], eax
cmp eax, 0xffffffff
je 0x40a49c
nop word [eax + eax]
test byte [ebp - 0x2f0], 0x10
je 0x40a39a
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a080
sub ecx, edx
lea eax, [ebp - 0x2c4]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00412090
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae eax, edx
cmp esi, 1
jne 0x40a0bd
cmp byte [eax], 0x2e
je 0x40a140
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp esi, 2
jne 0x40a0d5
mov ecx, 0x2e2e
cmp word [eax], cx
je 0x40a140
push dword [ebp - 0x310]
lea ecx, [ebp - 0x370]
call fcn.004117a0
mov byte [ebp - 4], 3
or edi, 1
push str.userContextId
mov edx, eax
mov dword [ebp - 0x2f4], edi
lea ecx, [ebp - 0x358]
call fcn.004114b0
add esp, 8
mov ecx, eax
mov dword [ebp - 4], 4
or edi, 2
mov dword [ebp - 0x2f4], edi
cmp dword [ecx + 0x14], 0x10
jb 0x40a122
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov byte [ebp - 0x2f5], 1
test eax, eax
jne 0x40a147
mov byte [ebp - 0x2f5], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x2f4]
test al, 2
je 0x40a172
and eax, 0xfffffffd
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x2f4], eax
call fcn.00410830
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 4], 2
test al, 1
je 0x40a191
and eax, 0xfffffffe
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x2f4], eax
call fcn.00410830
cmp byte [ebp - 0x2f5], 0
je 0x40a382
mov byte [ebp - 4], 5
mov eax, 0x7fffffff
mov edi, dword [ebp - 0x2fc]
mov esi, dword [ebp - 0x18]
mov edx, dword [edi + 0x10]
sub eax, edx
cmp eax, esi
jb 0x40a4f0
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x40a1c7
mov ecx, dword [edi]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x30c]
lea ecx, [ebp - 0x340]
call fcn.00413b20
mov edi, dword [ebp - 0x2f4]
lea edx, [ebp - 0x340]
or edi, 8
lea ecx, [ebp - 0x58]
push str.idb_
mov dword [ebp - 0x2f4], edi
call fcn.004114b0
add esp, 4
mov byte [ebp - 4], 6
and edi, 0xfffffff7
mov dword [ebp - 0x2f4], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x340]
call fcn.00410830
mov byte [ebp - 4], 8
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x48]
sub eax, ecx
cmp eax, 1
jb 0x40a4f0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x482de4
push ecx
push eax
push ecx
push dword [ebp - 0x30c]
lea ecx, [ebp - 0x328]
call fcn.00413b20
or edi, 0x20
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x2f4], edi
lea eax, [ebp - 0x328]
cmp dword [ebp - 0x314], 0x10
push ecx
cmovae eax, dword [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
and edi, 0xffffffdf
mov dword [ebp - 0x304], esi
mov dword [ebp - 0x2f4], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x328]
call fcn.00410830
cmp esi, 0xffffffff
je 0x40a374
nop word [eax + eax]
test byte [ebp - 0x1b0], 0x10
je 0x40a357
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x184]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a2f0
sub eax, edx
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00412090
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmovae eax, edx
cmp esi, 1
jne 0x40a329
cmp byte [eax], 0x2e
je 0x40a345
cmp ecx, 0x10
lea eax, [ebp - 0x40]
cmovae eax, edx
cmp esi, 2
jne 0x40a3bb
mov ecx, 0x2e2e
cmp word [eax], cx
jne 0x40a3bb
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00410830
mov esi, dword [ebp - 0x304]
lea eax, [ebp - 0x1b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a2c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00410830
jmp 0x40a388
mov edi, dword [ebp - 0x2f4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00410830
mov eax, dword [ebp - 0x300]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40a48a
mov eax, dword [ebp - 0x300]
jmp 0x40a050
push dword [ebp - 0x304]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
sub eax, edx
mov dword [ebp - 0x2fc], edx
cmp esi, eax
ja 0x40a425
cmp dword [ebp - 0x44], 0x10
lea eax, [edx + esi]
push dword [ebp - 0x30]
lea esi, [ebp - 0x58]
mov dword [ebp - 0x48], eax
cmovae esi, dword [ebp - 0x58]
push ecx
lea eax, [esi + edx]
push eax
call fcn.00447fa0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x2fc]
add eax, esi
mov byte [eax + ecx], 0
lea eax, [ebp - 0x58]
jmp 0x40a43d
push esi
push ecx
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2fc]
push esi
call fcn.00412410
mov ecx, dword [ebp - 0x308]
push eax
call fcn.004101b0
or edi, 4
mov dword [ebp - 0x2f4], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00410830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00410830
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00410830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00410830
mov eax, dword [ebp - 0x308]
jmp 0x40a4d5
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x308]
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x482090
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00412090
or edi, 4
mov dword [ebp - 0x2f4], edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00410830
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e653
mov esp, ebp
pop ebp
ret
call fcn.00406680
int3