Function at 0x473985
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x280
mov eax, 0x4d7537
call fcn.004bed4f
mov eax, dword [ebp + 8]
xor edi, edi
push eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], edi
call fcn.004024df
push 0x24c
lea eax, [ebp - 0x268]
push edi
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x26c], edi
call fcn.004be850
add esp, 0xc
lea ecx, [ebp - 0x288]
call fcn.004a451b
push 0x523938
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 2
call fcn.004024df
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x270]
mov eax, dword [eax - 0xc]
lea ecx, [eax - 1]
lea eax, [ebp - 0x270]
call fcn.00402afd
movzx eax, ax
push 0x5c
pop ecx
cmp cx, ax
jne 0x473a56
mov eax, dword [ebp - 0x270]
mov eax, dword [eax - 0xc]
push edi
dec eax
push eax
lea ecx, [ebp - 0x270]
call fcn.00415cb4
push dword [ebp - 0x270]
lea ecx, [ebp - 0x28c]
call fcn.004024df
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.0040257e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.004027b0
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x270]
call ebx
cmp dword [ebp - 0x26c], 0x10
push eax
jne 0x473aad
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004027b0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.004a47f7
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.004027b0
mov al, 1
jmp 0x473c23
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x288]
call fcn.004a459c
mov eax, dword [ebp - 0x270]
cmp edi, dword [eax - 0xc]
jge 0x473b5a
mov ecx, edi
lea eax, [ebp - 0x270]
call fcn.00402afd
movzx eax, ax
cmp ax, 0x5c
je 0x473b06
mov ecx, edi
lea eax, [ebp - 0x270]
call fcn.00402afd
movzx eax, ax
push eax
lea ecx, [ebp - 0x274]
call fcn.00445f11
jmp 0x473b2e
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
call fcn.004a4959
push 0x526790
lea ecx, [ebp - 0x274]
call fcn.00415cf1
mov eax, dword [ebp - 0x270]
mov eax, dword [eax - 0xc]
dec eax
cmp edi, eax
jne 0x473b54
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
call fcn.004a4959
inc edi
jmp 0x473ac3
xor edi, edi
inc edi
cmp edi, dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
jge 0x473ba3
push edi
call fcn.0041090f
push eax
lea ecx, [ebp - 0x274]
call fcn.0040257e
push 0
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x473ba0
push 0x80
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc edi
jmp 0x473b5d
push 0xffffffffffffffff
push 0
call fcn.004a459c
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x270]
call ebx
cmp dword [ebp - 0x26c], 0x10
push eax
jne 0x473bf8
call esi
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004027b0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.004a47f7
mov bl, 1
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.004027b0
mov al, bl
jmp 0x473c23
call esi
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004027b0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.004a47f7
xor bl, bl
jmp 0x473be6
call fcn.004bedab
ret 4