Function at 0x5ba0a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x570
mov dword [esp + 0xc], edx
mov edi, ecx
mov eax, dword [0x742040]
xor eax, ebp
mov dword [esp + 0x568], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x50]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x2d4]
push 0xb8
push 0x6d1c40
push 0x6d1de5
push ebx
call fcn.004f2b50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004e8e00
cmp byte [edi + 0xb], 0
jns 0x5ba137
cmp dword [edi + 4], 0x103
jbe 0x5ba137
xor ebx, ebx
lea ecx, [esp + 0x50]
call fcn.004e8e70
and bl, 1
mov ecx, dword [esp + 0x568]
xor ecx, ebp
call fcn.005412b6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x5ba14a
cmp dword [eax + 4], 0x103
ja 0x5ba111
xor ecx, ecx
dec ecx
lea esi, [esp + 0x44]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov ecx, esi
push eax
call fcn.004f2e60
push esi
call fcn.0048b450
add esp, 4
test al, al
jne 0x5ba1ab
lea esi, [esp + 0x84]
lea ecx, [esp + 0x44]
push esi
call fcn.004f35f0
push esi
push ebx
call fcn.0048af50
add esp, 8
lea ecx, [esp + 0x44]
push ebx
call fcn.00495930
mov ecx, ebx
call fcn.004f2fc0
mov ecx, esi
call fcn.004f2fc0
lea eax, [esp + 0x44]
movsx eax, byte [eax + 0xb]
jmp 0x5ba1c9
push esi
push ebx
call fcn.0048af50
add esp, 8
mov ecx, esi
push ebx
call fcn.00495930
mov ecx, ebx
call fcn.004f2fc0
movsx eax, byte [esp + 0x4f]
test eax, eax
jns 0x5ba1d1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5ba237
lea esi, [esp + 0x38]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
push esi
call fcn.0048af50
add esp, 8
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x5ba1fa
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5ba21e
lea ecx, [esp + 0x44]
push esi
call fcn.00495970
test al, al
jne 0x5ba21e
lea ecx, [esp + 0x38]
lea eax, [esp + 0x44]
push eax
call fcn.00495cb0
test al, al
je 0x5ba24b
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.004f2fc0
lea ecx, [esp + 0x44]
call fcn.004f2fc0
jmp 0x5ba113
xor ebx, ebx
jmp 0x5ba229
xor ebx, ebx
lea ecx, [esp + 0x2d4]
call fcn.0048cdf0
jmp 0x5ba220
movzx esi, byte [ebp + 8]
lea eax, [esi*2 + 1]
mov dword [esp + 8], eax
push 0x294
push 0xff
push ebx
call fcn.00544260
add esp, 0xc
mov ecx, ebx
push dword [esp + 8]
push esi
push edi
call fcn.0048cc40
push edi
call fcn.0048b450
add esp, 4
test al, al
je 0x5ba23b
lea ecx, [esp + 0x2c]
xor esi, esi
dec esi
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.004f2e60
push edi
call fcn.0048b5e0
add esp, 4
mov byte [esp + 8], al
lea ecx, [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.004f2e60
cmp byte [ebp + 8], 0
je 0x5ba2f1
push dword [esp + 0xc]
call fcn.0048b5e0
add esp, 4
test al, al
je 0x5ba2f1
lea esi, [esp + 0x84]
mov ecx, edi
push esi
call fcn.004f35f0
lea ecx, [esp + 0x20]
push esi
call fcn.00495930
mov ecx, esi
call fcn.004f2fc0
mov bl, 1
lea esi, [esp + 0x14]
lea edi, [esp + 0x20]
movzx eax, byte [ebp + 0xc]
mov dword [esp + 0x10], eax
jmp 0x5ba3cf
lea ecx, [esp + 0x14]
call fcn.004f2fc0
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.004f2fc0
lea ecx, [esp + 0x2c]
call fcn.004f2fc0
jmp 0x5ba23d
lea ecx, [esp + 0x2c]
mov esi, edi
mov edx, edi
push dword [esp + 0x10]
call fcn.005ba8a0
add esp, 4
movzx ebx, bl
test al, al
mov eax, 0
jmp 0x5ba35c
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebx, bl
cmove ebx, eax
lea ecx, [esp + 0x2d4]
lea edi, [esp + 0x84]
push edi
call fcn.0048cea0
lea ecx, [esp + 0x2c]
push edi
call fcn.00495930
mov ecx, edi
call fcn.004f2fc0
movsx eax, byte [esp + 0x37]
test eax, eax
jns 0x5ba391
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5ba3bb
lea ecx, [esp + 0x2d4]
lea edi, [esp + 0x84]
push edi
call fcn.0048ce60
mov ecx, edi
call fcn.0048cc10
mov byte [esp + 8], al
mov ecx, edi
call fcn.00411680
mov ecx, esi
call fcn.004f2fc0
test bl, 1
lea edi, [esp + 0x20]
je 0x5ba313
movsx eax, byte [esp + 0x37]
test eax, eax
jns 0x5ba3dc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5ba313
xor eax, eax
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, esi
push dword [esp + 0xc]
call fcn.004f2e60
mov ecx, edi
mov edi, esi
lea esi, [esp + 0x2c]
push esi
call fcn.00495b20
test al, al
je 0x5ba423
lea ecx, [esp + 0x20]
push edi
push esi
call fcn.004f40c0
test al, al
je 0x5ba308
test byte [esp + 8], 1
je 0x5ba32a
mov esi, edi
push edi
call fcn.0048b5e0
add esp, 4
test al, al
jne 0x5ba35f
cmp byte [esp + 0x1f], 0
mov eax, esi
jns 0x5ba34e
jmp 0x5ba34a