Function at 0x423e60
Capabilities:
Create directory
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov eax, 0x40d0
call fcn.0044bd40
mov eax, dword [0x478424]
xor eax, esp
mov dword [esp + 0x40cc], eax
mov eax, dword [esp + 0x40d4]
push ebx
push ebp
xor ebx, ebx
push esi
mov dword [esp + 0x38], edx
push edi
mov dword [esp + 0x38], eax
xor ebp, ebp
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x423e96
push ebx
push 0x80
push 3
push ebx
sub eax, edx
push 1
sar eax, 1
push closesocket
lea eax, [eax + eax + 2]
push ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], 0x426ec0
mov dword [esp + 0x44], 0x424510
mov dword [esp + 0x68], 0x426ec0
mov dword [esp + 0x6c], 0x424510
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
jne 0x423f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x423f01
mov eax, 1
jmp 0x424313
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x4244c0
mov dword [esp + 0x60], 0x4244f0
mov dword [esp + 0xb8], 0x426dd0
mov dword [esp + 0xbc], 0x426e30
mov dword [esp + 0xc0], 0x426e40
mov dword [esp + 0xc4], 0x426ea0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], ebx
call fcn.00427240
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x6c]
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call fcn.00426700
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x423fe8
lea edi, [esp + 0x24]
lea eax, [esp + 0x68]
call fcn.004246c0
cmp esi, ebx
mov dword [esp + 0x10], esi
jne 0x4242df
xor eax, eax
cmp dword [esp + 0x84], ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], eax
jbe 0x4242ce
mov dword [esp + 0x20], ebx
jmp 0x424020
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xa8]
mov esi, dword [edi + eax*4 + 4]
sub esi, dword [edi + eax*4]
add edx, ecx
cmp esi, dword [esp + 0x40]
lea ecx, [edi + eax*4 + 4]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], ecx
jbe 0x424081
push ebp
call fcn.004453d6
mov eax, dword [esp + 0x38]
lea eax, [eax + esi*2]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x40], esi
je 0x4242ba
push eax
call fcn.00445610
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4242bc
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
lea ecx, [eax - 2]
push ecx
push esi
push eax
push ebp
call fcn.00445a61
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4240a0
sub eax, edx
sar eax, 1
mov word [ebp + eax*2], 0x5c
mov eax, esi
lea edx, [eax + 2]
jmp 0x4240c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4240c0
mov esi, dword [esp + 0x18]
sub eax, edx
mov edx, dword [edi + esi*4]
sar eax, 1
lea ecx, [ebp + eax*2 + 2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
sub eax, edx
cmp ecx, ebx
je 0x424105
cmp eax, ebx
mov edi, dword [esp + 0xac]
lea edx, [edi + edx*2]
jbe 0x424105
sub edx, ecx
mov di, word [edx + ecx]
mov word [ecx], di
add ecx, 2
sub eax, 1
jne 0x4240f6
mov edi, dword [esp + 0x30]
cmp byte [edi + 0x19], bl
jne 0x424155
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xd4]
push esi
push edx
lea eax, [esp + 0x8c]
call fcn.00426b10
add esp, 0x24
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4242ce
mov eax, dword [esp + 0x38]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424160
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 2], bx
lea esi, [eax + 1]
je 0x4241b0
lea esp, [esp]
cmp word [ebp + esi*2], 0x2f
jne 0x4241a6
push ebx
push ebp
mov word [ebp + esi*2], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42419f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov word [ebp + esi*2], 0x5c
add esi, 1
cmp word [ebp + esi*2], bx
jne 0x424180
cmp byte [edi + 0x19], bl
push ebx
push ebp
je 0x4241d0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42429c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42429c
call fcn.00446df8
add esp, 8
test eax, eax
jne 0x4241f2
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4241f2
and eax, 0xfffffffe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x58], esi
jne 0x424222
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4242c6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [ecx + edx]
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x18]
call fcn.004243b0
add esp, 4
test eax, eax
jne 0x4242c6
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x14], edx
jne 0x4242c6
mov edi, dword [esp + 0x30]
cmp byte [edi + 0x1c], bl
je 0x424267
push edi
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp esi, 0xffffffff
je 0x424281
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x424281
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4242c6
cmp byte [edi + 0x1d], bl
je 0x424291
mov eax, dword [edi + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x3c], ebx
je 0x42429c
push ebp
call dword [esp + 0x40]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 0x20
add eax, 1
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
jae 0x4242ce
jmp 0x424020
xor ebp, ebp
mov dword [esp + 0x10], 2
jmp 0x4242ce
mov dword [esp + 0x10], 0xb
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [esp + 0x30]
add esp, 8
lea edi, [esp + 0x24]
lea eax, [esp + 0x68]
call fcn.004246c0
push ebp
call fcn.004453d6
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, 0xffffffff
je 0x42430f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42430f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00445276
add esp, 0x40d0
ret