Function at 0x41ba50
Capabilities:
Create directory
Set file attributes

Disassembly:
sub esp, 0xc20
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0xc1c], eax
push ebx
push esi
mov esi, dword [esp + 0xc2c]
push edi
mov edi, dword [esp + 0xc34]
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x41ba96
cmp word [edi], bx
je 0x41ba96
call fcn.004368c0
mov byte [esp + 0xf], 1
test al, al
jne 0x41ba9a
mov byte [esp + 0xf], bl
lea eax, [esp + 0x428]
xor ecx, ecx
sub eax, edi
push ebp
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], 1
mov ebp, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
cmp ebp, ebx
je 0x41bad1
mov eax, ebp
sub eax, esi
cmp eax, 0x400
jge 0x41bad1
cmp byte [ebp], bl
jne 0x41bad6
mov byte [esp + 0x11], 1
mov dl, byte [esp + 0x13]
cmp dl, bl
je 0x41bafd
cmp ecx, 0x400
jge 0x41bb03
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
cmp ax, bx
je 0x41bb03
cmp ax, 0x5c
je 0x41bb5d
jmp 0x41bc52
cmp byte [esp + 0x11], bl
je 0x41bb53
pop ebp
cmp byte [esp + 0xc38], bl
jne 0x41bca0
push esi
call fcn.00427390
movsx ecx, byte [eax]
push ecx
call fcn.00427120
test al, al
jne 0x41bca0
call fcn.0041dc70
test eax, eax
je 0x41bc8c
cmp edi, ebx
je 0x41bc8c
cmp word [edi], bx
je 0x41bc8c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41bc94
cmp byte [ebp], 0x5c
jne 0x41bc58
xor esi, esi
cmp dl, bl
je 0x41bb87
push ecx
push edi
lea ecx, [esp + 0x434]
push ecx
call fcn.00436920
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [eax + ecx], dx
lea esi, [esp + 0x42c]
cmp byte [esp + 0x11], bl
je 0x41bb9f
push 0x1000000
lea edx, [esp + 0x30]
push edx
push esi
call fcn.00436670
jmp 0x41bbbe
mov eax, dword [esp + 0x18]
mov edi, ebp
sub edi, eax
push edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0043f230
mov byte [esp + edi + 0x38], bl
mov edi, dword [esp + 0x30]
add esp, 0xc
call fcn.0041dc70
test eax, eax
je 0x41bbda
cmp esi, ebx
je 0x41bbda
cmp word [esi], bx
je 0x41bbda
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41bbe6
push ebx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x41bc44
call fcn.0041dc70
test eax, eax
je 0x41bc36
cmp esi, ebx
je 0x41bc36
cmp word [esi], bx
je 0x41bc36
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x2c]
push eax
push 0xd66
call fcn.00430740
push eax
call fcn.00412080
add esp, 8
push 0xd14
call fcn.00430740
push eax
push 0x44c7e8
call fcn.00412080
add esp, 8
jmp 0x41bc4e
push ebx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41bc04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x12], bl
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x11], bl
jne 0x41bc7d
cmp byte [0x4627b8], bl
je 0x41bc7c
push ebp
mov ecx, 0x4626b8
call fcn.00436fc0
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
mov ebp, eax
jmp 0x41bab9
inc ebp
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
jmp 0x41bab9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x41bcbe
push ebx
push edi
push esi
call fcn.0041b310
mov al, byte [esp + 0xe]
mov ecx, dword [esp + 0xc28]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043e3c6
add esp, 0xc20
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x41bca4