Function at 0x40ffc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4255fd
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4321e0]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4321e0]
xor eax, esp
push eax
lea eax, [esp + 0x33c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34c]
mov edi, ecx
push edi
mov ebx, str..url
lea esi, [esp + 0xb0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call fcn.00401bc0
add esp, 4
mov dword [esp + 0x344], 0
mov eax, dword [esp + 0xb0]
mov esi, 8
cmp dword [esp + 0xc4], esi
jae 0x410048
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x410080
cmp dword [esp + 0xc4], esi
jb 0x410079
mov edx, dword [esp + 0xb0]
push edx
call fcn.004178bc
add esp, 4
xor al, al
jmp 0x410342
mov ebp, 7
jmp 0x410094
mov edi, dword [esp + 0x18]
push edi
mov ebx, 0x42bcd4
lea esi, [esp + 0x5c]
call fcn.00401bc0
push eax
lea ebx, [esp + 0x118]
lea esi, [esp + 0xd0]
mov byte [esp + 0x34c], 1
call fcn.00401bc0
add esp, 8
mov esi, 8
mov byte [esp + 0x344], 3
cmp dword [esp + 0x70], esi
jb 0x4100e2
mov eax, dword [esp + 0x5c]
push eax
call fcn.004178bc
add esp, 4
xor ecx, ecx
mov word [esp + 0x5c], cx
xor ebx, ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x74]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
call fcn.0040fe10
mov byte [esp + 0x344], 4
cmp dword [esp + 0x88], ebx
je 0x4102c0
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x410129
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410144
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x5c]
call fcn.00401670
mov eax, dword [esp + 0x14]
add eax, 0x20
push eax
mov ebx, 0x42bcd4
lea esi, [esp + 0x40]
mov byte [esp + 0x348], 5
call fcn.00401bc0
lea ecx, [esp + 0x5c]
push ecx
push eax
lea edi, [esp + 0x9c]
mov byte [esp + 0x350], 6
call fcn.00410860
add esp, 0xc
mov ebx, 8
mov byte [esp + 0x344], bl
cmp dword [esp + 0x54], ebx
jb 0x4101b7
mov edx, dword [esp + 0x40]
push edx
call fcn.004178bc
add esp, 4
xor eax, eax
xor edi, edi
mov word [esp + 0x40], ax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], edi
cmp dword [esp + 0xe0], ebx
jae 0x4101df
lea eax, [esp + 0xcc]
xor ecx, ecx
mov word [esp + 0x24], cx
mov ecx, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4101f3
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x24]
call fcn.00401670
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x41021a
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], ebx
jae 0x410231
lea eax, [esp + 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push eax
push str.IconFile
push str.InternetShortcut
call esi
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x410253
lea eax, [esp + 0x24]
push eax
push 0x42d42c
push 0x42d430
push str.InternetShortcut
call esi
cmp dword [esp + 0x38], ebx
jb 0x410278
mov edx, dword [esp + 0x24]
push edx
call fcn.004178bc
add esp, 4
cmp dword [esp + 0xa8], ebx
jb 0x410291
mov eax, dword [esp + 0x94]
push eax
call fcn.004178bc
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], cx
cmp dword [esp + 0x70], ebx
jb 0x4102bc
mov edx, dword [esp + 0x5c]
push edx
call fcn.004178bc
add esp, 4
mov esi, ebx
xor ebx, ebx
cmp dword [esp + 0x8c], esi
jb 0x4102d6
mov eax, dword [esp + 0x78]
push eax
call fcn.004178bc
add esp, 4
xor ecx, ecx
mov byte [esp + 0x344], bl
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
cmp dword [esp + 0xe0], esi
jb 0x41030b
mov edx, dword [esp + 0xcc]
push edx
call fcn.004178bc
add esp, 4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xe4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410090
cmp dword [esp + 0xc4], 8
jb 0x410340
mov edx, dword [esp + 0xb0]
push edx
call fcn.004178bc
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.004178c7
add esp, 0x334
ret 4