Function at 0x41d550
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ade8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
mov byte [ebp - 0x120], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
mov byte [ebp - 0x224], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x120]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [0x48e53c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x364]
push ecx
push str.iClick.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x14], esi
je 0x41d715
test byte [ebp - 0x364], 0x10
jne 0x41d664
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edx, [ebp - 0x224]
push 0
push edx
lea eax, [ebp - 0x338]
push 0x104
push eax
call ebx
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41d636
lea ecx, [ebp - 0x120]
lea edx, [ebp - 0x224]
push ecx
push edx
call fcn.00445c80
add esp, 8
test eax, eax
jle 0x41d66a
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
jmp 0x41d66a
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp - 0x364]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41d70e
test byte [ebp - 0x364], 0x10
jne 0x41d6f8
lea edx, [ebp - 0x224]
push 0
push edx
lea eax, [ebp - 0x338]
push 0x104
push eax
call ebx
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41d6cc
lea ecx, [ebp - 0x120]
lea edx, [ebp - 0x224]
push ecx
push edx
call fcn.00445c80
add esp, 8
test eax, eax
jle 0x41d6f8
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x364]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d680
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41d811
mov dword [ebp - 4], eax
lea edx, [ebp - 0x47c]
lea eax, [ebp - 0x120]
push edx
push eax
call fcn.00462469
test eax, eax
je 0x41d80a
mov ecx, dword [ebp - 0x47c]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x18], ecx
call fcn.0045c502
lea eax, [ebp - 0x120]
push eax
call fcn.0040d4d0
add esp, 4
cmp eax, 0x1800
jge 0x41d80a
push 0
lea ecx, [ebp - 0x18]
call fcn.0045c515
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x18]
add esi, 0x76c
call fcn.0045c515
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x18]
inc edi
call fcn.0045c515
mov ecx, dword [eax + 0xc]
lea eax, [esi + esi*4]
push 0
lea edx, [eax + eax*4]
lea eax, [edi + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
lea ecx, [ebp - 0x14]
call fcn.0045c515
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x14]
add esi, 0x76c
call fcn.0045c515
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x14]
inc edi
call fcn.0045c515
mov ecx, dword [eax + 0xc]
lea eax, [esi + esi*4]
lea edx, [eax + eax*4]
lea eax, [edi + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ebx, eax
jne 0x41d80a
lea ecx, [ebp - 0x120]
push ecx
mov ecx, 0x48e6b8
call fcn.0045de51
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x48e6b8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x41d84b
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d2e0
push eax
mov ecx, 0x48e6b8
mov dword [ebp - 4], 2
call fcn.0045de01
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0045dcc8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret