Function at 0x4d4bf0
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d3f5
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5df7e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5e7450]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5e4ef4]
cmp eax, dword [ecx + 4]
jg 0x4d4ea5
mov eax, dword [0x5e4ef0]
cmp dword [eax - 0xc], 0
jne 0x4d4e60
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0052a280
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.004b98f0
mov ecx, eax
test ecx, ecx
je 0x4d4f0c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 4
call fcn.004b98f0
mov ecx, eax
test ecx, ecx
je 0x4d4f16
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x4d4cec
movzx eax, ax
lea ecx, [ebp - 0x428]
push eax
call fcn.004bb960
jmp 0x4d4d17
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d4cf5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.004bbc70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x428]
push 0x1c
push 0x56d390
call fcn.004d47d0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0052a280
mov esi, dword [ebp - 0x428]
lea eax, [ebp - 0x420]
add esp, 0xc
push esi
push 0x104
push eax
push 0x5bd23c
push str.data_path_v2
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d4d74
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.004bbc70
mov byte [ebp - 4], 4
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d4db4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x424]
cmp dword [esi - 0xc], 0
jne 0x4d4e10
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d4dd0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.004bbc70
push 0xd
push str.AliWorkbench
lea ecx, [ebp - 0x424]
call fcn.004d47d0
mov esi, dword [ebp - 0x424]
cmp dword [esi - 0xc], 0
je 0x4d4e33
push 8
push str.System_
lea ecx, [ebp - 0x424]
call fcn.004d47d0
mov esi, dword [ebp - 0x424]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x424]
mov ecx, 0x5e4ef0
push eax
call fcn.004bad70
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4d4e60
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5e4ef0]
add eax, 0xfffffff0
push eax
call fcn.004bbb10
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x42c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005121be
mov esp, ebp
pop ebp
ret
push 0x5e4ef4
call fcn.005120ca
add esp, 4
cmp dword [0x5e4ef4], 0xffffffff
jne 0x4d4c51
mov dword [ebp - 4], 1
call fcn.004b98f0
mov ecx, eax
test ecx, ecx
jne 0x4d4edb
push 0x80004005
call fcn.004b95c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x5e4ef0], eax
mov byte [ebp - 4], 1
push 0x569a50
call fcn.00511f12
mov byte [ebp - 4], 0
push 0x5e4ef4
call fcn.00512080
add esp, 8
jmp 0x4d4c51
push 0x80004005
call fcn.004b95c0
push 0x80004005
call fcn.004b95c0
int3