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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ca0b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x4b41e0]
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 - 0x2b4], edx
mov edi, ecx
mov dword [ebp - 0x298], edi
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x2a4], eax
mov esi, edx
xor eax, eax
movq qword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x2a8], 0
test edi, edi
je 0x40993e
cmp word [edi], ax
je 0x40993e
inc eax
cmp word [edi + eax*2], 0
jne 0x409936
xor ecx, ecx
inc ecx
cmp word [ecx*2 + 0x49eab0], 0
jne 0x409940
add ecx, eax
test edx, edx
je 0x40996a
xor eax, eax
cmp word [edx], ax
je 0x409968
nop dword [eax]
inc eax
cmp word [edx + eax*2], 0
jne 0x409960
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x29c], ecx
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a22b
add esp, 4
mov dword [ebp - 0x290], eax
mov edx, eax
test edi, edi
je 0x4099c1
movzx ecx, word [edi]
mov edi, ecx
test cx, cx
je 0x4099c1
mov edi, dword [ebp - 0x298]
sub edi, eax
nop word [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x4099b0
mov edi, 0x49eab0
mov ecx, 0x5c
sub edi, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x4099d0
mov eax, esi
test eax, eax
je 0x409a02
movzx eax, word [eax]
mov ecx, eax
test ax, ax
je 0x409a02
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x4099f1
mov esi, dword [ebp - 0x290]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dl, al
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x29c], 1
and dl, 4
mov byte [ebp - 0x2a8], 1
and ecx, 0xfffffffb
mov byte [ebp - 0x29d], dl
test dl, dl
push 0x250
cmove ecx, eax
lea eax, [ebp - 0x28c]
push 0
push eax
mov dword [ebp - 0x294], ecx
movups xmmword [ebp - 0x3c], xmm0
call fcn.0046b980
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x28c]
add esp, 0xc
push eax
push esi
call edi
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x409a9f
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x38], 0
call fcn.004012c0
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x298]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x409b20
mov ecx, dword [ebp - 0x294]
test cl, 2
je 0x409d45
mov eax, dword [ebp - 0x2a4]
push dword [eax + 4]
push 5
push ecx
push esi
mov ecx, eax
call fcn.00404020
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x2a8], 1
cmp eax, 0xffffffff
je 0x409ae7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x290]
call edi
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x409d4d
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x38], 0
call fcn.004012c0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xffffffff
je 0x409d4d
mov edi, dword [ebp - 0x290]
xor eax, eax
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x2b0], 0
lea edi, [ebp - 0x260]
mov byte [ebp - 0x2a8], 0
mov dword [ebp - 0x2ac], 0
test esi, esi
je 0x409b60
cmp word [esi], ax
je 0x409b60
inc eax
cmp word [esi + eax*2], 0
jne 0x409b58
xor ecx, ecx
inc ecx
cmp word [ecx*2 + 0x49eab0], 0
jne 0x409b62
add ecx, eax
xor eax, eax
cmp word [ebp - 0x260], ax
je 0x409b8c
nop dword [eax + eax]
inc eax
cmp word [ebp + eax*2 - 0x260], 0
jne 0x409b80
add ecx, eax
mov edx, 2
mov dword [ebp - 0x2b8], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a22b
add esp, 4
mov dword [ebp - 0x290], eax
test esi, esi
je 0x409bd7
movzx ecx, word [esi]
mov edx, ecx
test cx, cx
je 0x409bd7
sub esi, eax
mov word [eax], dx
add eax, 2
movzx ecx, word [eax + esi]
mov edx, ecx
test cx, cx
jne 0x409bc6
mov esi, 0x49eab0
mov edx, 0x5c
sub esi, eax
mov word [eax], dx
add eax, 2
movzx ecx, word [eax + esi]
mov edx, ecx
test cx, cx
jne 0x409be3
mov cx, word [ebp - 0x260]
test cx, cx
je 0x409c14
movzx ecx, cx
mov word [eax], cx
lea edi, [edi + 2]
movzx ecx, word [edi]
add eax, 2
test cx, cx
jne 0x409c03
mov edi, dword [ebp - 0x290]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b0], edi
test eax, eax
je 0x409c44
push eax
call fcn.00469e73
add esp, 4
mov eax, dword [ebp - 0x28c]
mov ecx, edi
mov byte [ebp - 0x2a8], 1
push dword [ebp - 0x2a4]
test al, 0x10
je 0x409c84
test eax, 0x400
je 0x409c71
mov edx, dword [ebp - 0x294]
call fcn.00409e70
jmp 0x409c8f
push dword [ebp - 0x294]
mov edx, dword [ebp - 0x2b4]
call fcn.004098d0
jmp 0x409c8f
mov edx, dword [ebp - 0x294]
call fcn.00409de0
test eax, eax
jne 0x409c9b
mov dword [ebp - 0x29c], eax
jmp 0x409cb6
mov esi, dword [ebp - 0x29c]
test esi, esi
je 0x409cb6
cmp eax, 2
mov eax, 2
cmove esi, eax
mov dword [ebp - 0x29c], esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x2c]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x409cf6
nop
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jg 0x409cd0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xffffffff
je 0x409d3d
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x409d2e
lea ecx, [ebp - 0x28c]
call fcn.004012c0
mov esi, dword [ebp - 0x298]
test al, al
jne 0x409b26
mov eax, dword [ebp - 0x3c]
jmp 0x409d53
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x298]
jmp 0x409d53
mov edi, dword [ebp - 0x290]
jmp 0x409d59
mov edi, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x294]
cmp byte [ebp - 0x29d], 0
jne 0x409d96
push dword [ebp - 0x2a4]
mov edx, ecx
mov ecx, esi
call fcn.00409e70
test eax, eax
jne 0x409d7c
xor esi, esi
mov eax, dword [ebp - 0x3c]
jmp 0x409d9c
mov esi, dword [ebp - 0x29c]
test esi, esi
je 0x409d77
cmp eax, 2
mov eax, 2
cmove esi, eax
mov eax, dword [ebp - 0x3c]
jmp 0x409d9c
mov esi, dword [ebp - 0x29c]
cmp eax, 0xffffffff
je 0x409da8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x409db5
push edi
call fcn.00469e73
add esp, 4
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.00469e65
mov esp, ebp
pop ebp
ret 8