Function at 0x40c3e1
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x430f6c
call fcn.0041ac8c
sub esp, 0x77c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
je 0x40c454
push str.:gnef
push ebx
call fcn.0041be58
pop ecx
test eax, eax
pop ecx
jne 0x40c41f
push 0x43b820
push ebx
call fcn.0041be58
pop ecx
test eax, eax
pop ecx
je 0x40c454
cmp dword [esi + 0x10c], 0
je 0x40c454
mov eax, dword [esi + 0x108]
push ebx
mov eax, dword [eax]
lea edi, [eax + 8]
call fcn.0041ac10
pop ecx
push eax
push ebx
push dword [edi + 8]
mov ecx, edi
push 0
call fcn.004043d0
test eax, eax
jne 0x40c454
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 4]
je 0x40c4b7
mov eax, dword [ebp + 0xc]
test ebx, ebx
mov dword [esi + 4], eax
je 0x40c4cb
push str.:gnef
push ebx
call fcn.0041be58
pop ecx
test eax, eax
pop ecx
jne 0x40c480
push 0x43b820
push ebx
call fcn.0041be58
pop ecx
test eax, eax
pop ecx
je 0x40c4cb
cmp dword [esi + 0x10c], 0
je 0x40c4cb
mov eax, dword [esi + 0x108]
push ebx
mov eax, dword [eax]
lea edi, [eax + 8]
call fcn.0041ac10
pop ecx
push eax
push ebx
push dword [edi + 8]
mov ecx, edi
push 0
call fcn.004043d0
test eax, eax
jne 0x40c4cb
mov eax, dword [esi]
push dword [ebp + 0x14]
mov ecx, esi
call dword [eax + 8]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
lea ecx, [esi + 0xf8]
call fcn.0040d7a6
lea ecx, [esi + 0x104]
call fcn.0040d7a6
lea ecx, [esi + 0xec]
call fcn.0040d7a6
lea ecx, [esi + 0x110]
call fcn.0040d7a6
lea ecx, [esi + 0x11c]
call fcn.0040d7a6
cmp dword [ebp + 0x10], 0
je 0x40c517
push dword [ebp + 0x10]
call fcn.0041ac10
pop ecx
push eax
push dword [ebp + 0x10]
jmp 0x40c525
mov edi, 0x453358
push edi
call fcn.0041ac10
pop ecx
push eax
push edi
lea ecx, [esi + 0x138]
call fcn.00404270
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x20], ecx
je 0x40c597
mov edi, 0x433518
mov eax, dword [ecx + 0x10]
mov edx, edi
test eax, eax
je 0x40c54f
mov edx, eax
mov eax, dword [ecx + 0x1c]
add eax, 0x34
mov eax, dword [eax + 4]
test eax, eax
jne 0x40c55e
mov eax, edi
push edx
push eax
push str.Deleting__s_for_key__s_n
push 0x4437f0
call fcn.0040b895
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x40c582
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x20]
call fcn.0040aff0
mov eax, dword [esi + 0xe0]
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x40c544
lea ecx, [esi + 0xdc]
call fcn.0040da40
mov al, byte [0x453358]
push 0x40
mov byte [ebp - 0x33c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x33b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x33c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [ebp + 8]
test edi, edi
je 0x40c843
push str.:gnef
push edi
call fcn.0041be58
pop ecx
test eax, eax
pop ecx
jne 0x40c7f9
push 0x43b820
push edi
call fcn.0041be58
pop ecx
test eax, eax
pop ecx
jne 0x40c7f9
mov dl, byte [0x453358]
push 0x40
pop ecx
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], dl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
mov byte [ebp - 0x238], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x238]
push ebx
push eax
push 0
call fcn.00415a08
add esp, 0xc
lea eax, [ebp - 0x238]
mov edi, str._s_s
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.00419ea1
lea eax, [ebp - 0x134]
push eax
call fcn.0040c990
add esp, 0x14
test eax, eax
je 0x40c6d2
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.004046d0
lea eax, [ebp - 0x134]
push eax
call fcn.0041ac10
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404270
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x104]
push 1
lea edx, [ebp - 0x1c]
mov eax, dword [eax]
pop edi
push edx
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], edi
push eax
call fcn.00404720
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x1c]
jmp 0x40c7ef
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.00419ea1
lea eax, [ebp - 0x134]
push eax
call fcn.0040c990
add esp, 0x14
test eax, eax
je 0x40c768
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.004046d0
lea eax, [ebp - 0x134]
push eax
call fcn.0041ac10
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404270
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x104]
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 2
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404720
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
jmp 0x40c7ef
push dword [ebp + 8]
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.00419ea1
lea eax, [ebp - 0x134]
push eax
call fcn.0040c990
add esp, 0x14
test eax, eax
je 0x40c977
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.004046d0
lea eax, [ebp - 0x134]
push eax
call fcn.0041ac10
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404270
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x104]
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 3
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404720
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call fcn.004046d0
jmp 0x40c977
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.004046d0
push edi
call fcn.0041ac10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404270
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x104]
and dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404720
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
jmp 0x40c7ef
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x788]
push str._shp_ins__.dat
push eax
call fcn.00419ea1
add esp, 0xc
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x788]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40c977
test byte [ebp - 0x684], 0x10
jne 0x40c956
mov al, byte [0x453358]
push 0x40
mov byte [ebp - 0x544], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x543]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x544]
push str._s_s
push eax
call fcn.00419ea1
mov al, byte [0x453358]
add esp, 0x10
mov byte [ebp - 0x440], al
xor eax, eax
push 0x40
lea edi, [ebp - 0x43f]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x440]
push 0
push eax
lea eax, [ebp - 0x544]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.004046d0
lea eax, [ebp - 0x440]
push eax
call fcn.0041ac10
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404270
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x104]
lea edx, [ebp - 0x30]
mov dword [ebp - 4], 4
push edx
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00404720
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x30]
call fcn.004046d0
lea eax, [ebp - 0x684]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c87e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp + 0xc], 1
je 0x40c4b7
mov eax, dword [esi]
push dword [ebp + 0x14]
mov ecx, esi
call dword [eax + 8]
jmp 0x40c4ba