Function at 0x407a43
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x280
mov eax, 0x43d2ec
call fcn.0042a467
mov eax, dword [ebp + 8]
xor esi, esi
push eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], esi
call fcn.00402152
push 0x24c
lea eax, [ebp - 0x268]
push esi
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x26c], esi
call fcn.00429440
add esp, 0xc
lea ecx, [ebp - 0x288]
call fcn.0041728a
push 0x44571c
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.00402152
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x274]
mov eax, dword [edx - 0xc]
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x407bba
cmp ecx, eax
jg 0x407bba
movzx ecx, word [edx + ecx*2]
push 0x5c
pop edi
cmp di, cx
jne 0x407b17
push esi
dec eax
push eax
lea ecx, [ebp - 0x274]
call fcn.00406e44
push dword [ebp - 0x274]
lea ecx, [ebp - 0x28c]
call fcn.00402152
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call fcn.00402410
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.004023f6
mov edx, dword [ebp - 0x274]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x26c]
push eax
push edx
call ebx
cmp dword [ebp - 0x26c], 0x10
push eax
jne 0x407b69
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.004023f6
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.00417467
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004023f6
mov al, 1
jmp 0x407ce1
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x288]
call fcn.00417331
mov eax, dword [ebp - 0x274]
mov edx, dword [eax - 0xc]
cmp esi, edx
jge 0x407c18
test esi, esi
jl 0x407bba
cmp esi, edx
jg 0x407bba
movzx eax, word [eax + esi*2]
movzx ecx, ax
cmp cx, 0x5c
je 0x407bc4
cmp esi, edx
jg 0x407bba
movzx eax, ax
push eax
lea ecx, [ebp - 0x270]
call fcn.00406fb8
jmp 0x407bec
push 0x80070057
call fcn.0040249f
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
call fcn.00417560
push 0x4466c0
lea ecx, [ebp - 0x270]
call fcn.00406e81
mov eax, dword [ebp - 0x274]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x407c12
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
call fcn.00417560
inc esi
jmp 0x407b7f
xor esi, esi
inc esi
cmp esi, dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
jge 0x407c61
push esi
call fcn.00406f9c
push eax
lea ecx, [ebp - 0x270]
call fcn.00402410
push 0
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407c5e
push 0x80
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
jmp 0x407c1b
push 0xffffffffffffffff
push 0
call fcn.00417331
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call ebx
cmp dword [ebp - 0x26c], 0x10
push eax
jne 0x407cb6
call edi
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.004023f6
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.00417467
mov bl, 1
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004023f6
mov al, bl
jmp 0x407ce1
call edi
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.004023f6
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.00417467
xor bl, bl
jmp 0x407ca4
call fcn.0042a4c3
ret