Function at 0x4301a0
Capabilities:
Create directory
Set file attributes

Disassembly:
sub esp, 0xc1c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xc18], eax
push ebx
push esi
mov esi, dword [esp + 0xc28]
push edi
mov edi, dword [esp + 0xc30]
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x4301e6
cmp word [edi], bx
je 0x4301e6
call fcn.0046d600
mov byte [esp + 0xf], 1
test al, al
jne 0x4301ea
mov byte [esp + 0xf], bl
lea eax, [esp + 0x424]
xor ecx, ecx
sub eax, edi
push ebp
mov byte [esp + 0x12], bl
mov byte [esp + 0x11], 1
mov ebp, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
cmp ebp, ebx
je 0x430221
mov eax, ebp
sub eax, esi
cmp eax, 0x400
jge 0x430221
cmp byte [ebp], bl
jne 0x430226
mov byte [esp + 0x12], 1
mov dl, byte [esp + 0x13]
cmp dl, bl
je 0x43024d
cmp ecx, 0x400
jge 0x430253
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
cmp ax, bx
je 0x430253
cmp ax, 0x5c
je 0x4302ad
jmp 0x43036e
cmp byte [esp + 0x12], bl
je 0x4302a3
pop ebp
cmp byte [esp + 0xc34], bl
jne 0x4303c0
push esi
call fcn.0044d600
movsx eax, byte [eax]
push eax
call fcn.0044d340
test al, al
jne 0x4303c0
call fcn.0043c9b0
test eax, eax
je 0x4303ac
cmp edi, ebx
je 0x4303ac
cmp word [edi], bx
je 0x4303ac
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4303b4
cmp byte [ebp], 0x5c
jne 0x430378
xor esi, esi
cmp dl, bl
je 0x4302d7
push ecx
push edi
lea ecx, [esp + 0x430]
push ecx
call fcn.0046d660
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [eax + ecx], dx
lea esi, [esp + 0x428]
cmp byte [esp + 0x12], bl
je 0x4302ef
push 0x1000000
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.0046d2f0
jmp 0x43030e
mov eax, dword [esp + 0x18]
mov edi, ebp
sub edi, eax
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0049f4b0
mov byte [esp + edi + 0x34], bl
mov edi, dword [esp + 0x2c]
add esp, 0xc
call fcn.0043c9b0
test eax, eax
je 0x43032a
cmp esi, ebx
je 0x43032a
cmp word [esi], bx
je 0x43032a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x430336
push ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x430364
call fcn.0043c9b0
test eax, eax
je 0x430356
cmp esi, ebx
je 0x430356
cmp word [esi], bx
je 0x430356
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43036e
push ebx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x43036e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x11], bl
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x12], bl
jne 0x43039d
cmp byte [0x4f61c0], bl
je 0x43039c
push ebp
mov ecx, 0x4f60c0
call fcn.0046dda0
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
mov ebp, eax
jmp 0x430209
inc ebp
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
jmp 0x430209
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x4303de
push ebx
push edi
push esi
call fcn.0042f970
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0xc24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0xc1c
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x4303c4