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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x474
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x123]
mov byte [ebp - 0x124], 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 - 0x227]
mov byte [ebp - 0x228], 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 - 0x124]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [0x4907dc]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x368]
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 0x41e2d5
test byte [ebp - 0x368], 0x10
jne 0x41e224
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edx, [ebp - 0x228]
push 0
push edx
lea eax, [ebp - 0x33c]
push 0x104
push eax
call ebx
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41e1f6
lea ecx, [ebp - 0x124]
lea edx, [ebp - 0x228]
push ecx
push edx
call fcn.00448080
add esp, 8
test eax, eax
jle 0x41e22a
lea edi, [ebp - 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x124]
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 0x41e22a
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp - 0x368]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41e2ce
test byte [ebp - 0x368], 0x10
jne 0x41e2b8
lea edx, [ebp - 0x228]
push 0
push edx
lea eax, [ebp - 0x33c]
push 0x104
push eax
call ebx
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41e28c
lea ecx, [ebp - 0x124]
lea edx, [ebp - 0x228]
push ecx
push edx
call fcn.00448080
add esp, 8
test eax, eax
jle 0x41e2b8
lea edi, [ebp - 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x124]
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 - 0x368]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41e240
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edi, [ebp - 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41e3d6
mov dword [ebp - 4], eax
lea edx, [ebp - 0x480]
lea eax, [ebp - 0x124]
push edx
push eax
call fcn.00464869
test eax, eax
je 0x41e3cf
mov ecx, dword [ebp - 0x480]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x18], ecx
call fcn.0045e902
mov eax, dword [eax]
lea ecx, [ebp - 0x124]
push ecx
mov dword [ebp - 0x14], eax
call fcn.0040d630
add esp, 4
cmp eax, 0x1800
jge 0x41e3cf
push 0
lea ecx, [ebp - 0x18]
call fcn.0045e915
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x18]
add esi, 0x76c
call fcn.0045e915
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x18]
inc edi
call fcn.0045e915
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.0045e915
mov esi, dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x14]
add esi, 0x76c
call fcn.0045e915
mov edi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x14]
inc edi
call fcn.0045e915
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 0x41e3cf
lea ecx, [ebp - 0x124]
push ecx
mov ecx, 0x490960
call fcn.0046024c
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x490960]
mov eax, dword [edx - 8]
test eax, eax
jne 0x41e410
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041de90
push eax
mov ecx, 0x490960
mov dword [ebp - 4], 2
call fcn.004601fc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004600c3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret