Function at 0x5ddfb0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637a86
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x680], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x67c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x678], eax
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [ebp - 0x674], eax
lea eax, [ebp - 0x614]
push 0
push eax
call fcn.005feb40
add esp, 0xc
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0xf
mov byte [ebp - 0x644], 0
push 0
push 0x25
lea eax, [ebp - 0x614]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x5de2a0
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea ecx, [ebp - 0x614]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5de070
sub ecx, edx
lea eax, [ebp - 0x614]
push ecx
push eax
lea ecx, [ebp - 0x644]
call fcn.00417150
push 0xc
push str.kernel32.dll
lea ecx, [ebp - 0x644]
call fcn.00417520
cmp dword [ebp - 0x630], 0x10
lea esi, [ebp - 0x644]
push 0
cmovae esi, dword [ebp - 0x644]
lea ecx, [ebp - 0x62c]
push 0x6a2f3c
mov dword [ebp - 0x664], esi
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0xf
mov byte [ebp - 0x62c], 0
call fcn.00417150
lea eax, [ebp - 0x66c]
mov byte [ebp - 4], 1
push eax
push esi
mov dword [ebp - 0x66c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x5de209
push edi
call fcn.005c386a
add esp, 4
mov esi, eax
push esi
push edi
push 0
push dword [ebp - 0x664]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x668]
mov dword [ebp - 0x668], 0
push eax
lea eax, [ebp - 0x670]
push eax
push 0x691ec8
push esi
call sub.VERSION.dll_VerQueryValueA
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005feb40
add esp, 0xc
test dword [ebp - 0x668], 0xfffffffc
jbe 0x5de200
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005feb40
push 0x100
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.005feb40
mov ecx, dword [ebp - 0x670]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x214]
push 0x691ee4
push eax
call fcn.005d97a0
add esp, 0x28
mov dword [ebp - 0x664], 0
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5de1e4
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.00417150
push esi
call fcn.005c3e37
add esp, 4
push dword [ebp - 0x674]
movups xmm0, xmmword [ebp - 0x62c]
cmp dword [ebp - 0x618], 0x10
lea eax, [ebp - 0x65c]
push dword [ebp - 0x678]
cmovae eax, dword [ebp - 0x62c]
push dword [ebp - 0x67c]
movups xmmword [ebp - 0x65c], xmm0
push dword [ebp - 0x680]
movq xmm0, qword [ebp - 0x61c]
push 0x645a1c
push eax
movq qword [ebp - 0x64c], xmm0
call fcn.004754b0
mov edx, dword [ebp - 0x648]
add esp, 0x18
cmp edx, 0x10
jb 0x5de297
mov ecx, dword [ebp - 0x65c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5de28d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5de2fe
push edx
push ecx
call fcn.005c385c
add esp, 8
mov byte [ebp - 0x65d], 1
jmp 0x5de2a7
mov byte [ebp - 0x65d], 0
mov edx, dword [ebp - 0x630]
cmp edx, 0x10
jb 0x5de2dd
mov ecx, dword [ebp - 0x644]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5de2d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5de303
push edx
push ecx
call fcn.005c385c
add esp, 8
mov al, byte [ebp - 0x65d]
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.005c358e
mov esp, ebp
pop ebp
ret
call fcn.00606fc9
call fcn.00606fc9
int3