Function at 0x420700
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469da6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x28]
call fcn.0042ee70
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x42074f
mov edi, 0x80070003
jmp 0x4209a5
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0042e1e0
push str.A996C182_3724_4DF1_A4BC_66154FE57DFE
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004122e0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0042e1e0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4207b5
cmp dword [ebp - 0x14], 8
jb 0x420798
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409c10
cmp dword [ebp - 0x44], 8
jb 0x4207c6
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x4207eb
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x420813
push dword [ebp - 0x70]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42081f
lea eax, [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x42097b
cmp edi, 0xb7
je 0x42097b
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.0041aa50
mov esi, eax
push str.CreateDirectory_failed__path:__
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0040a200
lea ecx, [ebp - 0x28]
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00409ac0
add esp, 4
push str.___error_code:
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004122e0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0040acc0
add esp, 4
push eax
push 2
mov byte [ebp - 4], 7
call fcn.0041ea00
cmp dword [ebp - 0x2c], 8
jb 0x4208c3
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x4208e8
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x420910
push dword [ebp - 0x88]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x420938
push dword [ebp - 0x70]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x420963
push dword [ebp - 0xa0]
call fcn.0044d5f9
add esp, 4
test edi, edi
je 0x420974
jle 0x4209a5
movzx edi, di
or edi, 0x80070000
jmp 0x4209a5
mov edi, 0x8007001f
jmp 0x4209a5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x420987
lea eax, [ebp - 0x28]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x4209a3
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409d90
xor edi, edi
cmp dword [ebp - 0x14], 8
jb 0x4209b6
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret