Function at 0x4516c0
Capabilities:
Enumerate files on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69414c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x950
mov eax, dword [0x6ce36c]
xor eax, ebp
mov dword [ebp - 0x34], eax
push esi
mov dword [ebp - 0x944], ecx
mov ecx, dword [ebp - 0x944]
call fcn.00451ca0
mov dword [ebp - 0x74], 0
jmp 0x45170c
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e7c0
cmp dword [ebp - 0x74], eax
jge 0x451760
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e800
cmp dword [eax], 0
jle 0x45175e
push 0
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e800
mov eax, dword [eax]
push eax
call fcn.004f3340
add esp, 8
jmp 0x451703
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e600
mov ecx, dword [ebp - 0x944]
add ecx, 0x180
call fcn.0049e600
push 0x3e8
mov ecx, dword [ebp - 0x944]
add ecx, 0x180
call fcn.0049e7a0
mov ecx, dword [ebp - 0x944]
add ecx, 0x190
call fcn.0049e600
push 0x3e8
mov ecx, dword [ebp - 0x944]
add ecx, 0x190
call fcn.0049e7a0
lea ecx, [ebp - 0x20]
call fcn.0049ef20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0049e600
lea ecx, [ebp - 0x30]
call fcn.0049d190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0049d670
push 0x6f4534
lea ecx, [ebp - 0x50]
call fcn.0049ca60
mov byte [ebp - 4], 2
push str.BasicData_
lea ecx, [ebp - 0x50]
call fcn.0049cb70
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0049ca60
mov byte [ebp - 4], 3
push str.EncodedIconList.xxxxx
lea ecx, [ebp - 0x70]
call fcn.0049cb70
push 0
lea ecx, [ebp - 0x70]
call fcn.0049cd70
push eax
call fcn.004df480
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x451970
mov dword [ebp - 0x494], 0
push 0x69d8f9
lea ecx, [ebp - 0x50]
call fcn.0049cb30
push 0x69d8f9
lea ecx, [ebp - 0x490]
call fcn.0049cab0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
push edx
push 0x200
lea eax, [ebp - 0x694]
push eax
call fcn.004df530
add esp, 0xc
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 0
jle 0x451950
push str.BasicData_
lea ecx, [ebp - 0x50]
call fcn.0049cb30
lea ecx, [ebp - 0x694]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0049cb70
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x30]
call fcn.0049d520
lea eax, [ebp - 0x694]
push eax
lea ecx, [ebp - 0x490]
call fcn.0049cb30
push 3
push 4
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x490]
call fcn.0049ce80
mov dword [ebp - 0x948], eax
mov edx, dword [ebp - 0x948]
mov dword [ebp - 0x94c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x94c]
push eax
lea ecx, [ebp - 0x490]
call fcn.0049cb10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x918]
call fcn.0049caf0
lea ecx, [ebp - 0x490]
call fcn.0049cd70
push eax
call fcn.004cbdaf
add esp, 4
mov dword [ebp - 0x91c], eax
lea ecx, [ebp - 0x91c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0049e840
jmp 0x451870
mov edx, dword [ebp - 0x10]
push edx
call fcn.004de6a0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x490]
call fcn.0049caf0
jmp 0x451ad0
lea ecx, [ebp - 0x50]
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x8f4]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x69d8f9
lea ecx, [ebp - 0x50]
call fcn.0049cb30
push 0x69d8f9
lea ecx, [ebp - 0x7f0]
call fcn.0049cab0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7d4]
push ecx
push 0x69dac0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x8f8], eax
cmp dword [ebp - 0x8f8], 0xffffffff
je 0x451ab0
push str.BasicData_
lea ecx, [ebp - 0x50]
call fcn.0049cb30
lea edx, [ebp - 0x7a8]
push edx
lea ecx, [ebp - 0x50]
call fcn.0049cb70
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.0049d520
lea ecx, [ebp - 0x7a8]
push ecx
lea ecx, [ebp - 0x7f0]
call fcn.0049cb30
push 3
push 4
lea edx, [ebp - 0x938]
push edx
lea ecx, [ebp - 0x7f0]
call fcn.0049ce80
mov dword [ebp - 0x950], eax
mov eax, dword [ebp - 0x950]
mov dword [ebp - 0x954], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x954]
push ecx
lea ecx, [ebp - 0x7f0]
call fcn.0049cb10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x938]
call fcn.0049caf0
lea ecx, [ebp - 0x7f0]
call fcn.0049cd70
push eax
call fcn.004cbdaf
add esp, 4
mov dword [ebp - 0x93c], eax
lea edx, [ebp - 0x93c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0049e840
lea eax, [ebp - 0x7d4]
push eax
mov ecx, dword [ebp - 0x8f8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4519d7
mov edx, dword [ebp - 0x8f8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7f0]
call fcn.0049caf0
mov dword [ebp - 0x8fc], 0
jmp 0x451aeb
mov eax, dword [ebp - 0x8fc]
add eax, 1
mov dword [ebp - 0x8fc], eax
lea ecx, [ebp - 0x30]
call fcn.0049d450
cmp dword [ebp - 0x8fc], eax
jge 0x451c53
mov ecx, dword [ebp - 0x8fc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0049e800
cmp dword [eax], 0
jge 0x451b15
jmp 0x451adc
push 1
push 0
push 1
push 1
mov edx, dword [ebp - 0x8fc]
push edx
lea ecx, [ebp - 0x30]
call fcn.0049d4e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x940], esp
push eax
call fcn.0049ca60
mov dword [ebp - 0x958], eax
call fcn.00408e30
add esp, 0x2c
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp - 0x95c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
je 0x451c4e
mov ecx, dword [ebp - 0x8fc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0049e800
mov esi, eax
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e7c0
cmp dword [esi], eax
jl 0x451bb0
mov edx, dword [ebp - 0x8fc]
push edx
lea ecx, [ebp - 0x20]
call fcn.0049e800
mov eax, dword [eax]
add eax, 1
push eax
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e7a0
mov ecx, dword [ebp - 0x8fc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0049e800
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e800
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov edx, dword [ebp - 0x8fc]
push edx
lea ecx, [ebp - 0x20]
call fcn.0049e800
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x944]
add ecx, 0x190
call fcn.0049e800
push eax
mov ecx, dword [ebp - 0x8fc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0049e800
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0x944]
add ecx, 0x180
call fcn.0049e800
push eax
mov eax, dword [ebp - 0x8fc]
push eax
lea ecx, [ebp - 0x20]
call fcn.0049e800
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x944]
add ecx, 0x170
call fcn.0049e800
mov edx, dword [eax]
push edx
call fcn.004eb760
add esp, 0xc
jmp 0x451adc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0049caf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0049caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0049d670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0049e600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.004cac87
mov esp, ebp
pop ebp
ret