Function at 0x51d5f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3e06
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x63b404]
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.0x51d628
jmp dword [ecx*4 + 0x51d968]
call fcn.00548f30
mov edi, eax
test edi, edi
je case.default.0x51d628
mov ecx, edi
call fcn.00549210
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x51d65e
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056f898
add esp, 8
jmp case.default.0x51d628
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
push 0x643d28
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.005456c0
push ecx
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0054e190
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00500b70
cmp dword [ebp - 0x228], 0
je 0x51d6e4
cmp dword [ebp - 0x224], 0
jbe 0x51d6e4
lea ecx, [ebp - 0x228]
call fcn.00545a50
mov esi, eax
jmp 0x51d940
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 0x51d724
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call fcn.00545630
mov esi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x51d753
push str.iWin_Streaming_Service
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00546600
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0
call fcn.00500b70
push esi
lea ecx, [ebp - 0x220]
call fcn.005456c0
push 0x643d28
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x13
call fcn.005456c0
push ecx
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x230]
call fcn.0054e330
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.00500b70
lea ecx, [ebp - 0x220]
call fcn.00500b70
jmp 0x51d940
mov ecx, 1
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.global
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x15
call fcn.00546600
lea ecx, [ebp - 0x220]
jmp 0x51d946
mov ecx, 2
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.logs
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x16
call fcn.00546600
lea ecx, [ebp - 0x220]
jmp 0x51d946
mov ecx, 2
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.config
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x17
call fcn.00546600
lea ecx, [ebp - 0x220]
jmp 0x51d946
mov ecx, 2
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.upgrade
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x18
call fcn.00546600
lea ecx, [ebp - 0x220]
jmp 0x51d946
mov ecx, 2
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.channels
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x19
call fcn.00546600
lea ecx, [ebp - 0x220]
jmp 0x51d946
mov ecx, 1
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.users
lea ecx, [ebp - 0x220]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x1a
call fcn.00546600
lea ecx, [ebp - 0x220]
jmp 0x51d946
mov ecx, 1
call fcn.0051d5f0
mov esi, eax
test esi, esi
je case.default.0x51d628
push str.modules
lea ecx, [ebp - 0x228]
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0x1b
call fcn.00546600
lea ecx, [ebp - 0x228]
call fcn.00500b70
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.0056f3c2
mov esp, ebp
pop ebp
ret