Function at 0x56d1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ea59
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x857060]
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 edi, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
push esi
lea ebx, [edi + 8]
mov dword [ebp - 4], eax
push edx
mov ecx, ebx
call fcn.00669dd0
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0066a550
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.Command_line_arguments_as_XML:__s
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x1e
call fcn.0056c500
xor eax, eax
mov dword [ebp - 0x90], 0
add esp, 0x1c
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 6
push str.silent
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00426ce0
push 0x7a15bc
lea ecx, [ebp - 0xa0]
call fcn.00513340
test al, al
je 0x56d2d9
mov byte [edi + 2], 1
mov ecx, edi
call fcn.0056dad0
test al, al
jne 0x56d2eb
mov eax, str.Failed_to_set_the_application_mode.
jmp 0x56d2fb
mov ecx, edi
call fcn.0056ebc0
test al, al
jne 0x56d321
mov eax, str.Basic_sanity_check_failed.
push eax
push str.InitError
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x18
xor bl, bl
jmp 0x56d5ec
mov ecx, edi
call fcn.0056cc20
test al, al
je 0x56d33c
mov eax, dword [ebp - 0xa4]
mov bl, 1
mov byte [eax], 1
jmp 0x56d5ec
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 8
push str.pipename
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0x28]
call fcn.00426ce0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push 0xf
push str.installLanguage
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00426d40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00426ce0
cmp dword [ebp - 0x18], 0
je 0x56d3f2
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x28]
push eax
call fcn.005538e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
push 0xa
push str.installDir
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
call fcn.00426d40
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00426ce0
cmp dword [ebp - 0x30], 0
je 0x56d46a
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x40]
push eax
call fcn.005537a0
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbc]
push 0xb
push str.downloadDir
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
call fcn.00426d40
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.0066a4b0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00426ce0
cmp dword [ebp - 0x60], 0
jne 0x56d52a
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0
push 0
push 0x7ea380
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x56d52a
mov edx, dword [ebp - 0xa4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x56d505
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00426d40
push dword [ebp - 0xa4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x70]
push eax
call fcn.00553840
cmp byte [edi], 0
je 0x56d57b
push 0x94
call fcn.006d0976
mov esi, eax
mov dword [ebp - 0xa4], esi
push 0x94
push 0
push esi
mov byte [ebp - 4], 0xb
call fcn.006e9470
add esp, 0xc
mov ecx, esi
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x48]
push dword [edi + 4]
call fcn.0057c8e0
mov byte [ebp - 4], 9
mov dword [edi + 0x40], eax
mov ecx, dword [ebp - 0x48]
mov esi, dword [edi + 0x14]
test ecx, ecx
je 0x56d59d
lea eax, [ebp - 0x58]
cmp esi, eax
je 0x56d59d
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00426d40
push str.Message_gateway_initialized
push 0x799430
push 0x799430
push str.ApplicationContext
push 0x799430
push 0x14
mov dword [esi + 0x94], 0x56c5b0
call fcn.0056c500
add esp, 0x18
lea ecx, [ebp - 0x70]
mov bl, 1
call fcn.00426ce0
lea ecx, [ebp - 0x40]
call fcn.00426ce0
lea ecx, [ebp - 0x28]
call fcn.00426ce0
lea ecx, [ebp - 0x58]
call fcn.00426ce0
lea ecx, [ebp - 0xa0]
call fcn.00426ce0
lea ecx, [ebp - 0x88]
call fcn.00426ce0
mov al, bl
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.006d0965
mov esp, ebp
pop ebp
ret 0xc