Function at 0x430590
Capabilities:
Create directory
Set file attributes

Disassembly:
sub esp, 0xc1c
mov eax, dword [0x4c03a0]
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 0x4305d6
cmp word [edi], bx
je 0x4305d6
call fcn.0046db00
mov byte [esp + 0xf], 1
test al, al
jne 0x4305da
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 0x430611
mov eax, ebp
sub eax, esi
cmp eax, 0x400
jge 0x430611
cmp byte [ebp], bl
jne 0x430616
mov byte [esp + 0x12], 1
mov dl, byte [esp + 0x13]
cmp dl, bl
je 0x43063d
cmp ecx, 0x400
jge 0x430643
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
cmp ax, bx
je 0x430643
cmp ax, 0x5c
je 0x43069d
jmp 0x43075e
cmp byte [esp + 0x12], bl
je 0x430693
pop ebp
cmp byte [esp + 0xc34], bl
jne 0x4307b0
push esi
call fcn.0044dbc0
movsx eax, byte [eax]
push eax
call fcn.0044d900
test al, al
jne 0x4307b0
call fcn.0043cdb0
test eax, eax
je 0x43079c
cmp edi, ebx
je 0x43079c
cmp word [edi], bx
je 0x43079c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4307a4
cmp byte [ebp], 0x5c
jne 0x430768
xor esi, esi
cmp dl, bl
je 0x4306c7
push ecx
push edi
lea ecx, [esp + 0x430]
push ecx
call fcn.0046db60
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 0x4306df
push 0x1000000
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.0046d7f0
jmp 0x4306fe
mov eax, dword [esp + 0x18]
mov edi, ebp
sub edi, eax
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0049fa10
mov byte [esp + edi + 0x34], bl
mov edi, dword [esp + 0x2c]
add esp, 0xc
call fcn.0043cdb0
test eax, eax
je 0x43071a
cmp esi, ebx
je 0x43071a
cmp word [esi], bx
je 0x43071a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x430726
push ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x430754
call fcn.0043cdb0
test eax, eax
je 0x430746
cmp esi, ebx
je 0x430746
cmp word [esi], bx
je 0x430746
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43075e
push ebx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x43075e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x11], bl
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x12], bl
jne 0x43078d
cmp byte [0x4f6208], bl
je 0x43078c
push ebp
mov ecx, 0x4f6108
call fcn.0046e2a0
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
mov ebp, eax
jmp 0x4305f9
inc ebp
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
jmp 0x4305f9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x4307ce
push ebx
push edi
push esi
call fcn.0042fd50
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0xc24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0xc1c
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x4307b4