Function at 0x420740
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469de6
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.0042eeb0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x42078f
mov edi, 0x80070003
jmp 0x4209e5
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0042e220
push str.A996C182_3724_4DF1_A4BC_66154FE57DFE
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00412310
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0042e220
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4207f5
cmp dword [ebp - 0x14], 8
jb 0x4207d8
push dword [ebp - 0x28]
call fcn.0044d639
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.00409c20
cmp dword [ebp - 0x44], 8
jb 0x420806
push dword [ebp - 0x58]
call fcn.0044d639
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 0x42082b
push dword [ebp - 0x40]
call fcn.0044d639
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 0x420853
push dword [ebp - 0x70]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42085f
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 0x4209bb
cmp edi, 0xb7
je 0x4209bb
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.0041aa90
mov esi, eax
push str.CreateDirectory_failed__path:__
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0040a210
lea ecx, [ebp - 0x28]
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00409ad0
add esp, 4
push str.___error_code:
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00412310
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0040acf0
add esp, 4
push eax
push 2
mov byte [ebp - 4], 7
call fcn.0041ea40
cmp dword [ebp - 0x2c], 8
jb 0x420903
push dword [ebp - 0x40]
call fcn.0044d639
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 0x420928
push dword [ebp - 0x58]
call fcn.0044d639
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 0x420950
push dword [ebp - 0x88]
call fcn.0044d639
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 0x420978
push dword [ebp - 0x70]
call fcn.0044d639
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 0x4209a3
push dword [ebp - 0xa0]
call fcn.0044d639
add esp, 4
test edi, edi
je 0x4209b4
jle 0x4209e5
movzx edi, di
or edi, 0x80070000
jmp 0x4209e5
mov edi, 0x8007001f
jmp 0x4209e5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4209c7
lea eax, [ebp - 0x28]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x4209e3
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409da0
xor edi, edi
cmp dword [ebp - 0x14], 8
jb 0x4209f6
push dword [ebp - 0x28]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret