Function at 0x56ec30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d064f
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
call fcn.0045d300
mov ecx, eax
call fcn.00515ff0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x27c]
cmp dword [eax + 0x534], 0
je 0x56f141
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx + 0x534]
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x534]
add ecx, 0x4bc
mov edx, dword [edx + 0x4bc]
mov eax, dword [edx + 0x20]
call eax
cmp dword [ebp - 0x28c], 0
je 0x56f141
mov dword [ebp - 0x294], 0
lea ecx, [ebp - 0x290]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.004663b0
jmp 0x56ecee
push 0
lea edx, [ebp - 0x2bc]
push edx
lea ecx, [ebp - 0x290]
call fcn.00466300
lea eax, [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00466350
push eax
lea ecx, [ebp - 0x290]
push ecx
call fcn.00466600
add esp, 8
movzx edx, al
test edx, edx
je 0x56eeb1
lea ecx, [ebp - 0x290]
call fcn.00466330
mov ecx, eax
call fcn.004465b0
push eax
lea ecx, [ebp - 0x248]
call fcn.00446660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004465b0
push eax
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x27c]
call fcn.0056dbd0
mov byte [ebp - 4], 1
push 0x4d0
call fcn.00495c22
add esp, 4
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2a4]
call fcn.004a56b1
mov dword [ebp - 0x298], eax
jmp 0x56ed96
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 0
je 0x56ee50
push 0x6607b4
push 0x6607bc
mov eax, dword [ebp - 0x280]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x124]
call eax
lea ecx, [ebp - 0x260]
call fcn.004465b0
push eax
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 0x248]
call fcn.004465b0
push eax
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0xcc]
call eax
mov ecx, dword [ebp - 0x280]
push ecx
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x534]
mov ecx, dword [ebp - 0x27c]
mov ecx, dword [ecx + 0x534]
add ecx, 0x4bc
mov edx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x294]
add ecx, 1
mov dword [ebp - 0x294], ecx
cmp dword [ebp - 0x294], 5
jle 0x56ee8b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00446610
jmp 0x56eeb1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00446610
jmp 0x56ecda
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004e1330
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x56f066
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.00446660
mov dword [ebp - 4], 3
push 0x660764
lea ecx, [ebp - 0x230]
call fcn.004465f0
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x27c]
call fcn.0056dae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.0044ec90
movzx ecx, al
test ecx, ecx
jne 0x56ef5e
lea edx, [ebp - 0x278]
push edx
lea ecx, [ebp - 0x230]
call fcn.0044c090
push 0x6607b0
lea ecx, [ebp - 0x230]
call fcn.004465f0
push 0x4d0
call fcn.00495c22
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2ac]
call fcn.004a56b1
mov dword [ebp - 0x29c], eax
jmp 0x56ef92
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 0
je 0x56f045
push 0x660874
push 0x66087c
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x284]
mov edx, dword [eax + 0x124]
call edx
push 0x660864
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 0x230]
call fcn.004465b0
push eax
mov ecx, dword [ebp - 0x284]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx + 0xcc]
call eax
mov ecx, dword [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x534]
mov ecx, dword [ebp - 0x27c]
mov ecx, dword [ecx + 0x534]
add ecx, 0x4bc
mov edx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x10]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00446610
mov ecx, dword [ebp - 0x28c]
call fcn.0044ebd0
cmp eax, 1
jb 0x56f141
push 0x4d0
call fcn.00495c22
add esp, 4
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x2b4]
call fcn.004a56b1
mov dword [ebp - 0x2a0], eax
jmp 0x56f0b1
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x288], edx
cmp dword [ebp - 0x288], 0
je 0x56f141
push 0x66086c
push 0x660844
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x288]
mov eax, dword [edx + 0x124]
call eax
push 0x660854
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x288]
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x534]
mov ecx, dword [ebp - 0x27c]
mov ecx, dword [ecx + 0x534]
add ecx, 0x4bc
mov edx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret