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

Disassembly:
mov eax, 0x457bf0
call fcn.0043742c
sub esp, 0x77c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
je 0x428a20
push 0x46ea64
push ebx
call fcn.00435f1b
pop ecx
test eax, eax
pop ecx
jne 0x4289eb
push 0x46ca54
push ebx
call fcn.00435f1b
pop ecx
test eax, eax
pop ecx
je 0x428a20
cmp dword [esi + 0x10c], 0
je 0x428a20
mov eax, dword [esi + 0x108]
push ebx
mov eax, dword [eax]
lea edi, [eax + 8]
call fcn.004373b0
pop ecx
push eax
push ebx
push dword [edi + 8]
mov ecx, edi
push 0
call fcn.0040eb90
test eax, eax
jne 0x428a20
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 4]
je 0x428a83
mov eax, dword [ebp + 0xc]
test ebx, ebx
mov dword [esi + 4], eax
je 0x428a97
push 0x46ea64
push ebx
call fcn.00435f1b
pop ecx
test eax, eax
pop ecx
jne 0x428a4c
push 0x46ca54
push ebx
call fcn.00435f1b
pop ecx
test eax, eax
pop ecx
je 0x428a97
cmp dword [esi + 0x10c], 0
je 0x428a97
mov eax, dword [esi + 0x108]
push ebx
mov eax, dword [eax]
lea edi, [eax + 8]
call fcn.004373b0
pop ecx
push eax
push ebx
push dword [edi + 8]
mov ecx, edi
push 0
call fcn.0040eb90
test eax, eax
jne 0x428a97
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.00429cf1
lea ecx, [esi + 0x104]
call fcn.00429cf1
lea ecx, [esi + 0xec]
call fcn.00429cf1
lea ecx, [esi + 0x110]
call fcn.00429cf1
lea ecx, [esi + 0x11c]
call fcn.00429cf1
cmp dword [ebp + 0x10], 0
je 0x428ae3
push dword [ebp + 0x10]
call fcn.004373b0
pop ecx
push eax
push dword [ebp + 0x10]
jmp 0x428af1
mov edi, 0x476654
push edi
call fcn.004373b0
pop ecx
push eax
push edi
lea ecx, [esi + 0x138]
call fcn.00402970
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x20], ecx
je 0x428b63
mov edi, 0x45a50c
mov eax, dword [ecx + 0x10]
mov edx, edi
test eax, eax
je 0x428b1b
mov edx, eax
mov eax, dword [ecx + 0x1c]
add eax, 0x34
mov eax, dword [eax + 4]
test eax, eax
jne 0x428b2a
mov eax, edi
push edx
push eax
push str.Deleting__s_for_key__s_n
push 0x476888
call fcn.0041ea35
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x428b4e
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x20]
call fcn.00429fe0
mov eax, dword [esi + 0xe0]
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x428b10
lea ecx, [esi + 0xdc]
call fcn.00429f8b
mov al, byte [0x476654]
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 0x428e0f
push 0x46ea64
push edi
call fcn.00435f1b
pop ecx
test eax, eax
pop ecx
jne 0x428dc5
push 0x46ca54
push edi
call fcn.00435f1b
pop ecx
test eax, eax
pop ecx
jne 0x428dc5
mov dl, byte [0x476654]
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.00426c1e
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.00435e2f
lea eax, [ebp - 0x134]
push eax
call fcn.0041e003
add esp, 0x14
test eax, eax
je 0x428c9e
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402a10
lea eax, [ebp - 0x134]
push eax
call fcn.004373b0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402970
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.00406890
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x1c]
jmp 0x428dbb
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.00435e2f
lea eax, [ebp - 0x134]
push eax
call fcn.0041e003
add esp, 0x14
test eax, eax
je 0x428d34
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402a10
lea eax, [ebp - 0x134]
push eax
call fcn.004373b0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402970
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.00406890
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
jmp 0x428dbb
push dword [ebp + 8]
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.00435e2f
lea eax, [ebp - 0x134]
push eax
call fcn.0041e003
add esp, 0x14
test eax, eax
je 0x428f43
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402a10
lea eax, [ebp - 0x134]
push eax
call fcn.004373b0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402970
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.00406890
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402a10
jmp 0x428f43
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402a10
push edi
call fcn.004373b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00402970
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.00406890
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
jmp 0x428dbb
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x788]
push str._shp_ins__.dat
push eax
call fcn.00435e2f
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 0x428f43
test byte [ebp - 0x684], 0x10
jne 0x428f22
mov al, byte [0x476654]
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.00435e2f
mov al, byte [0x476654]
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.00402a10
lea eax, [ebp - 0x440]
push eax
call fcn.004373b0
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402970
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.00406890
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x30]
call fcn.00402a10
lea eax, [ebp - 0x684]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x428e4a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp + 0xc], 1
je 0x428a83
mov eax, dword [esi]
push dword [ebp + 0x14]
mov ecx, esi
call dword [eax + 8]
jmp 0x428a86