Function at 0x41ba30
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 0x41ba76
cmp word [edi], bx
je 0x41ba76
call fcn.00436810
mov byte [esp + 0xf], 1
test al, al
jne 0x41ba7a
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 0x41bab1
mov eax, ebp
sub eax, esi
cmp eax, 0x400
jge 0x41bab1
cmp byte [ebp], bl
jne 0x41bab6
mov byte [esp + 0x11], 1
mov dl, byte [esp + 0x13]
cmp dl, bl
je 0x41badd
cmp ecx, 0x400
jge 0x41bae3
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
cmp ax, bx
je 0x41bae3
cmp ax, 0x5c
je 0x41bb3d
jmp 0x41bc32
cmp byte [esp + 0x11], bl
je 0x41bb33
pop ebp
cmp byte [esp + 0xc38], bl
jne 0x41bc80
push esi
call fcn.00427400
movsx ecx, byte [eax]
push ecx
call fcn.00427190
test al, al
jne 0x41bc80
call fcn.0041dc50
test eax, eax
je 0x41bc6c
cmp edi, ebx
je 0x41bc6c
cmp word [edi], bx
je 0x41bc6c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41bc74
cmp byte [ebp], 0x5c
jne 0x41bc38
xor esi, esi
cmp dl, bl
je 0x41bb67
push ecx
push edi
lea ecx, [esp + 0x434]
push ecx
call fcn.00436870
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 0x41bb7f
push 0x1000000
lea edx, [esp + 0x30]
push edx
push esi
call fcn.004365c0
jmp 0x41bb9e
mov eax, dword [esp + 0x18]
mov edi, ebp
sub edi, eax
push edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0043f180
mov byte [esp + edi + 0x38], bl
mov edi, dword [esp + 0x30]
add esp, 0xc
call fcn.0041dc50
test eax, eax
je 0x41bbba
cmp esi, ebx
je 0x41bbba
cmp word [esi], bx
je 0x41bbba
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41bbc6
push ebx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x41bc24
call fcn.0041dc50
test eax, eax
je 0x41bc16
cmp esi, ebx
je 0x41bc16
cmp word [esi], bx
je 0x41bc16
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x2c]
push eax
push 0xd66
call fcn.00430730
push eax
call fcn.00412060
add esp, 8
push 0xd14
call fcn.00430730
push eax
push 0x44c7e8
call fcn.00412060
add esp, 8
jmp 0x41bc2e
push ebx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41bbe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x12], bl
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x11], bl
jne 0x41bc5d
cmp byte [0x4627b8], bl
je 0x41bc5c
push ebp
mov ecx, 0x4626b8
call fcn.00436f10
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
mov ebp, eax
jmp 0x41ba99
inc ebp
mov ecx, dword [esp + 0x1c]
inc ecx
add dword [esp + 0x14], 2
jmp 0x41ba99
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x41bc9e
push ebx
push edi
push esi
call fcn.0041b2f0
mov al, byte [esp + 0xe]
mov ecx, dword [esp + 0xc28]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043e316
add esp, 0xc20
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x41bc84