Function at 0x40f1c9
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c023
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042c401
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
push 0x451200
lea ecx, [ebp - 0x10]
call fcn.0042d1d7
mov byte [ebp - 4], 2
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp + 8]
call fcn.00407370
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x16c], 0x10
jne 0x40f280
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x174], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042d169
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042c434
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d169
mov eax, dword [ebp - 0x174]
jmp 0x40f466
lea ecx, [ebp - 0x2c]
call fcn.0040b080
mov dword [ebp - 0x14], 0
jmp 0x40f29a
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
lea ecx, [ebp + 8]
call fcn.00407310
cmp dword [ebp - 0x14], eax
jge 0x40f309
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040cf20
movsx ecx, al
cmp ecx, 0x5c
je 0x40f2d2
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp + 8]
call fcn.0040cf20
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d56c
jmp 0x40f2eb
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b160
push 0x44ca7c
lea ecx, [ebp - 0x10]
call fcn.0042d545
lea ecx, [ebp + 8]
call fcn.00407310
sub eax, 1
cmp dword [ebp - 0x14], eax
jne 0x40f307
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040b160
jmp 0x40f291
mov edx, dword [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 1
jmp 0x40f328
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.004092d0
cmp dword [ebp - 0x14], eax
jge 0x40f3af
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x178]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004092f0
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042d2a2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.0042d169
push 0
lea ecx, [ebp - 0x10]
call fcn.00407370
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40f3aa
push 0x80
lea ecx, [ebp - 0x10]
call fcn.00407370
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x40f31f
lea ecx, [ebp - 0x2c]
call fcn.0040b080
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp + 8]
call fcn.00407370
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x16c], 0x10
jne 0x40f422
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x17c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042d169
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042c434
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d169
mov eax, dword [ebp - 0x17c]
jmp 0x40f466
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x180], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042d169
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042c434
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d169
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret