Function at 0x42d230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x684], ecx
cmp dword [ebp + 8], 0x64
jge 0x42d294
mov eax, dword [ebp - 0x684]
mov ecx, dword [eax + 0xc28]
call fcn.00498cc6
cmp eax, dword [ebp + 8]
jge 0x42d294
mov ecx, dword [ebp - 0x684]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xcb4], edx
mov eax, dword [ebp - 0x684]
mov ecx, dword [eax + 0xcb4]
push ecx
mov edx, dword [ebp - 0x684]
mov ecx, dword [edx + 0xc28]
call fcn.004990d0
cmp dword [ebp + 8], 0x65
jne 0x42d521
push 0x54657c
mov ecx, dword [ebp - 0x684]
add ecx, 0x30
call fcn.004858a2
mov dword [ebp - 0x6a8], eax
mov ecx, dword [ebp - 0x6a8]
call fcn.00498048
mov byte [ebp - 0x685], al
movzx eax, byte [ebp - 0x685]
push eax
mov ecx, dword [ebp - 0x684]
call fcn.0042e8d0
push 0
push 0x10
lea ecx, [ebp - 0x270]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.createshortcut
mov ecx, dword [ebp - 0x684]
add ecx, 0x30
call fcn.004858a2
mov dword [ebp - 0x6ac], eax
mov ecx, dword [ebp - 0x6ac]
call fcn.00498048
mov edx, dword [ebp - 0x684]
mov byte [edx + 0xc5c], al
mov eax, dword [ebp - 0x684]
movzx ecx, byte [eax + 0xc5c]
test ecx, ecx
je 0x42d39a
push str.LagoFast.exe
mov ecx, dword [ebp - 0x684]
add ecx, 0x798
call fcn.00482ce7
push eax
push 0x5465d4
lea edx, [ebp - 0x680]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x546078
lea eax, [ebp - 0x270]
push eax
push 0x5465e0
lea ecx, [ebp - 0x478]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x680]
push eax
mov ecx, dword [ebp - 0x684]
call fcn.0042ded0
jmp 0x42d4e6
lea ecx, [ebp - 0x270]
add ecx, 0xfffffffe
mov dword [ebp - 0x690], ecx
mov edx, dword [ebp - 0x690]
mov ax, word [edx + 2]
mov word [ebp - 0x69a], ax
add dword [ebp - 0x690], 2
cmp word [ebp - 0x69a], 0
jne 0x42d3a9
mov edi, dword [ebp - 0x690]
mov ecx, dword [0x5465f4]
mov dword [edi], ecx
mov dword [ebp - 0x68c], 0x546078
mov edx, dword [ebp - 0x68c]
mov dword [ebp - 0x6a4], edx
mov eax, dword [ebp - 0x68c]
mov cx, word [eax]
mov word [ebp - 0x69c], cx
add dword [ebp - 0x68c], 2
cmp word [ebp - 0x69c], 0
jne 0x42d3ef
mov edx, dword [ebp - 0x68c]
sub edx, dword [ebp - 0x6a4]
mov eax, dword [ebp - 0x6a4]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x6b4], edx
lea ecx, [ebp - 0x270]
add ecx, 0xfffffffe
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x694]
mov ax, word [edx + 2]
mov word [ebp - 0x69e], ax
add dword [ebp - 0x694], 2
cmp word [ebp - 0x69e], 0
jne 0x42d43d
mov edi, dword [ebp - 0x694]
mov esi, dword [ebp - 0x6b0]
mov edx, dword [ebp - 0x6b4]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x270]
add eax, 0xfffffffe
mov dword [ebp - 0x698], eax
mov ecx, dword [ebp - 0x698]
mov dx, word [ecx + 2]
mov word [ebp - 0x6a0], dx
add dword [ebp - 0x698], 2
cmp word [ebp - 0x6a0], 0
jne 0x42d48e
mov edi, dword [ebp - 0x698]
mov eax, dword [0x5465f8]
mov dword [edi], eax
mov ecx, dword [0x5465fc]
mov dword [edi + 4], ecx
mov dx, word [0x546600]
mov word [edi + 8], dx
lea eax, [ebp - 0x270]
push eax
call fcn.0051758a
add esp, 4
mov dword [ebp - 0x6b8], eax
lea ecx, [ebp - 0x68]
push ecx
push 0x546604
call fcn.00437ab0
add esp, 8
push 1
lea edx, [ebp - 0x68]
push edx
push 0x546608
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallLagoFast
push reloc.WS2_32.dll_bind
call fcn.004312f0
add esp, 0x14
push 2
mov ecx, dword [ebp - 0x684]
call fcn.00430300
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 4