Function at 0x430250
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 0x430296
cmp word [edi], bx
je 0x430296
call fcn.0046dab0
mov byte [esp + 0xf], 1
test al, al
jne 0x43029a
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 0x4302d1
mov eax, ebp
sub eax, esi
cmp eax, 0x400
jge 0x4302d1
cmp byte [ebp], bl
jne 0x4302d6
mov byte [esp + 0x12], 1
mov dl, byte [esp + 0x13]
cmp dl, bl
je 0x4302fd
cmp ecx, 0x400
jge 0x430303
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
cmp ax, bx
je 0x430303
cmp ax, 0x5c
je 0x43035d
jmp 0x43041e
cmp byte [esp + 0x12], bl
je 0x430353
pop ebp
cmp byte [esp + 0xc34], bl
jne 0x430470
push esi
call fcn.0044dc00
movsx eax, byte [eax]
push eax
call fcn.0044d940
test al, al
jne 0x430470
call fcn.0043ca60
test eax, eax
je 0x43045c
cmp edi, ebx
je 0x43045c
cmp word [edi], bx
je 0x43045c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x430464
cmp byte [ebp], 0x5c
jne 0x430428
xor esi, esi
cmp dl, bl
je 0x430387
push ecx
push edi
lea ecx, [esp + 0x430]
push ecx
call fcn.0046db10
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 0x43039f
push 0x1000000
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.0046d7a0
jmp 0x4303be
mov eax, dword [esp + 0x18]
mov edi, ebp
sub edi, eax
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0049f290
mov byte [esp + edi + 0x34], bl
mov edi, dword [esp + 0x2c]
add esp, 0xc
call fcn.0043ca60
test eax, eax
je 0x4303da
cmp esi, ebx
je 0x4303da
cmp word [esi], bx
je 0x4303da
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4303e6
push ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x430414
call fcn.0043ca60
test eax, eax
je 0x430406
cmp esi, ebx
je 0x430406
cmp word [esi], bx
je 0x430406
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43041e
push ebx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x43041e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x11], bl
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x12], bl
jne 0x43044d
cmp byte [0x4f6590], bl
je 0x43044c
push ebp
mov ecx, 0x4f6490
call fcn.0046e250
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
mov ebp, eax
jmp 0x4302b9
inc ebp
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
jmp 0x4302b9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x43048e
push ebx
push edi
push esi
call fcn.0042fa20
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0xc24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0xc1c
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x430474