Function at 0x4077d0
Capabilities:
Delete directory
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x454ab4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
push ebp
push edi
lea eax, [esp + 0x27c]
push 0x104
mov ebp, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x178]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.UIU_INBUILD_INF
lea ecx, [esp + 0x38]
call fcn.0044a442
push eax
lea edx, [ebp + 0x5e0]
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x394], 0
call fcn.0044a5b7
lea ecx, [esp + 0x34]
mov byte [esp + 0x388], 2
call fcn.0044a3d4
mov eax, dword [0x471df4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push str..
lea edx, [esp + 0x20]
mov bl, 5
push ecx
push edx
mov byte [esp + 0x394], bl
call fcn.0044a61d
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38c], 6
call fcn.0044a4c1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x388], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407a47
push esi
lea edx, [esp + 0x68]
lea ecx, [esp + 0x10]
push edx
call fcn.0044a511
lea ecx, [esp + 0x10]
call fcn.0044a88a
push 0x46ad80
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x4078ff
push str..PNF
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
je 0x407a2b
lea eax, [esp + 0x14]
push 0x46a404
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0044a61d
lea edx, [esp + 0x10]
mov byte [esp + 0x38c], 7
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x390], 8
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x38c], 7
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38c], bl
call fcn.0044a3d4
push str.INF_
lea ecx, [esp + 0x30]
call fcn.0044a442
mov esi, eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x38c], 9
push ecx
lea ecx, [esp + 0x2c]
call fcn.0044a442
push esi
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x398], 0xa
call fcn.0044a5b7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x398], 0xb
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x390], 0xc
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x38c], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x38c], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x38c], 9
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38c], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0042cf30
add esp, 8
test eax, eax
je 0x407a2b
mov edx, dword [esp + 0x18]
push edx
call fcn.0042cc40
add esp, 4
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4078be
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0xc]
mov dword [ebp + 0xd74], 0
mov byte [esp + 0x388], 4
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x388], 3
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x388], 2
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x388], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x380]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x380
ret