Function at 0x5b0eb50
Capabilities:
Create directory
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1d16a
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, ecx
push str.CreateRootLinkDir
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], eax
call esi
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
call esi
test al, 0x10
jne 0x5b0ebb7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x5b0ee9b
push edi
call esi
test al, 0x10
je 0x5b0ee9b
xor edi, edi
xor esi, esi
xor ecx, ecx
push esi
mov word [ebp - 0x30], cx
inc edi
mov ebx, 7
push 0x5b6b880
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
call fcn.05a01370
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 4], esi
call fcn.05a061b0
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], esi
jb 0x5b0ec16
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.05ac7ecf
add esp, 4
mov eax, dword [ebp - 0x54]
push edi
push ecx
push str.SEPTEMP_
push ecx
push eax
lea ecx, [ebp - 0xfc]
xor edx, edx
push ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
call fcn.05a03950
add esp, 0xc
push eax
call fcn.05a03950
add esp, 0xc
push eax
call fcn.05a05fe0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xfc]
call fcn.05a062b0
cmp dword [eax + 0x14], esi
jb 0x5b0ec65
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x38], esi
jb 0x5b0ec7d
mov edx, dword [ebp - 0x4c]
push edx
call fcn.05ac7ecf
add esp, 4
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xfc]
call fcn.05a062b0
cmp dword [eax + 0x14], esi
jb 0x5b0ec92
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete bl
cmp dword [ebp - 0x38], esi
jb 0x5b0ecb1
mov eax, dword [ebp - 0x4c]
push eax
call fcn.05ac7ecf
add esp, 4
test bl, bl
je 0x5b0ee45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x5b0ee2f
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x60], ecx
mov dword [ebp + eax - 0xfc], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 4], 4
test byte [ebp - 0xb8], 1
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xf8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x5b0ed1e
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx]
push eax
call fcn.05ac7ecf
add esp, 4
mov eax, dword [ebp - 0xe8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc8]
mov dword [edx], 0
mov eax, dword [ebp - 0xe4]
mov dword [eax], 0
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc4]
mov dword [edx], 0
and dword [ebp - 0xb8], 0xfffffffe
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xf8], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xc0]
mov ebx, eax
test eax, eax
je 0x5b0eddc
mov edi, dword [eax]
test edi, edi
je 0x5b0edd0
push 0
lea ecx, [ebp - 0x5c]
call fcn.05aeb9a5
mov eax, dword [edi + 4]
test eax, eax
je 0x5b0edb1
cmp eax, 0xffffffff
jae 0x5b0edb1
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x5c]
not esi
call fcn.05aeb9cd
and esi, edi
je 0x5b0edd0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.05ac7ecf
mov edi, dword [ebp - 0x50]
add esp, 4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.05aeb9fe
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xac]
mov dword [ebp + ecx - 0xfc], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push edx
mov dword [ebp - 0xac], vtable.std::ios_base.0
call fcn.05aeb5b1
add esp, 4
cmp edi, 0x64
jb 0x5b0ebc4
mov eax, 0x3e3
jmp 0x5b0eea1
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 0xffffffff
call fcn.05a05f60
mov eax, esi
jmp 0x5b0eea1
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xfc]
call fcn.05a062b0
mov edi, dword [ebp - 0x58]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.05a01090
cmp dword [ebp - 0x38], esi
jb 0x5b0ee73
mov eax, dword [ebp - 0x4c]
push eax
call fcn.05ac7ecf
add esp, 4
cmp dword [edi + 0x14], esi
jb 0x5b0ee7c
mov eax, dword [edi]
jmp 0x5b0ee7e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 0xffffffff
call fcn.05a05f60
xor eax, eax
jmp 0x5b0eea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret