Function at 0x51c800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x63a404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
cmp ecx, 8
ja case.default.0x51c838
jmp dword [ecx*4 + 0x51cb78]
call fcn.00548140
mov edi, eax
test edi, edi
je case.default.0x51c838
mov ecx, edi
call fcn.00548420
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x51c86e
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056ea89
add esp, 8
jmp case.default.0x51c838
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
push 0x642c08
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.005448d0
push ecx
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0054d3a0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004ffe40
cmp dword [ebp - 0x228], 0
je 0x51c8f4
cmp dword [ebp - 0x224], 0
jbe 0x51c8f4
lea ecx, [ebp - 0x228]
call fcn.00544c60
mov esi, eax
jmp 0x51cb50
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x51c934
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call fcn.00544840
mov esi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x51c963
push str.iWin_Streaming_Service
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00545810
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0
call fcn.004ffe40
push esi
lea ecx, [ebp - 0x220]
call fcn.005448d0
push 0x642c08
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x13
call fcn.005448d0
push ecx
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x230]
call fcn.0054d540
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.004ffe40
lea ecx, [ebp - 0x220]
call fcn.004ffe40
jmp 0x51cb50
mov ecx, 1
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.global
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x15
call fcn.00545810
lea ecx, [ebp - 0x220]
jmp 0x51cb56
mov ecx, 2
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.logs
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x16
call fcn.00545810
lea ecx, [ebp - 0x220]
jmp 0x51cb56
mov ecx, 2
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.config
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x17
call fcn.00545810
lea ecx, [ebp - 0x220]
jmp 0x51cb56
mov ecx, 2
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.upgrade
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x18
call fcn.00545810
lea ecx, [ebp - 0x220]
jmp 0x51cb56
mov ecx, 2
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.channels
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x19
call fcn.00545810
lea ecx, [ebp - 0x220]
jmp 0x51cb56
mov ecx, 1
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.users
lea ecx, [ebp - 0x220]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x1a
call fcn.00545810
lea ecx, [ebp - 0x220]
jmp 0x51cb56
mov ecx, 1
call fcn.0051c800
mov esi, eax
test esi, esi
je case.default.0x51c838
push str.modules
lea ecx, [ebp - 0x228]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x1b
call fcn.00545810
lea ecx, [ebp - 0x228]
call fcn.004ffe40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e5b3
mov esp, ebp
pop ebp
ret