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

Disassembly:
push 0xffffffffffffffff
push 0x4e354b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x517568]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x114]
push ecx
push str.iClick.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x42ec60
or eax, eax
jmp 0x42ee65
push ebx
push ebp
push esi
mov esi, dword [esp + 0x270]
mov edi, dword [esi + 8]
mov ebp, dword [esi + 4]
cmp edi, edi
mov ebx, edi
je 0x42ec88
push ebx
mov ecx, ebp
call fcn.004d39b6
add ebx, 4
add ebp, 4
cmp ebx, edi
jne 0x42ec76
mov ebx, dword [esi + 8]
mov edi, ebp
cmp ebp, ebx
je 0x42ec9f
mov ecx, edi
call fcn.004d387d
add edi, 4
cmp edi, ebx
jne 0x42ec91
mov dword [esi + 8], ebp
test byte [esp + 0x120], 0x10
jne 0x42ee47
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x154]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [0x51779c]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.004adbb0
add esp, 8
test eax, eax
je 0x42ee47
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
call fcn.004d38eb
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov dword [esp + 0x268], 0
sar ecx, 2
cmp ecx, 1
mov edi, eax
jae 0x42edb6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42ed27
sub eax, ecx
sar eax, 2
cmp eax, 1
mov ebx, eax
ja 0x42ed2c
mov ebx, 1
mov ecx, esi
call fcn.0042a380
add eax, ebx
mov dword [esp + 0x18], eax
jns 0x42ed3d
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004d35be
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.0042be70
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, esi
call fcn.0042beb0
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.0042be70
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.0042b160
mov eax, dword [esi + 4]
push eax
call fcn.004d35e7
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, esi
lea eax, [ebp + edx*4]
mov dword [esi + 0xc], eax
call fcn.0042a380
lea ecx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], ecx
jmp 0x42ee33
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x42ee02
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.0042be70
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.0042beb0
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
push edi
call fcn.0042c0c0
add esp, 0xc
jmp 0x42ee2f
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0042be70
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.0042c0f0
lea edx, [esp + 0x1c]
lea eax, [edi + 4]
push edx
push eax
push edi
call fcn.0042c0c0
add esp, 0x18
add dword [esi + 8], 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x268], 0xffffffff
call fcn.004d387d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x120]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42eca2
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x254]
pop edi
mov dword fs:[0], ecx
add esp, 0x25c
ret 4