Function at 0x55d7f0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d792c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0054d2e0
cmp byte [esi + 0x4ed], 0
jne 0x55da41
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x55d850
sub ecx, edx
cmp byte [ebp + ecx - 0x111], 0x5c
je 0x55d883
lea edi, [ebp - 0x110]
dec edi
nop word [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x55d870
mov ax, word [0x5e4f6c]
mov word [edi], ax
lea ecx, [ebp - 0x110]
dec ecx
nop word [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x55d890
mov eax, dword [str.popcinfo.dat]
mov dword [ecx], eax
mov eax, dword [0x5e8f94]
mov dword [ecx + 4], eax
mov eax, dword [0x5e8f98]
mov dword [ecx + 8], eax
mov al, byte [0x5e8f9c]
mov byte [ecx + 0xc], al
lea eax, [ebp - 0x110]
push 0x5e9058
push eax
call fcn.005a94a9
mov edi, eax
add esp, 8
test edi, edi
je 0x55d9a8
push edi
push 2
lea eax, [ebp - 0x244]
push 1
push eax
call fcn.005a96a6
add esp, 0x10
test eax, eax
je 0x55d9c2
mov ax, word [ebp - 0x244]
mov ecx, 0x100
cmp ax, cx
jae 0x55d969
movzx eax, ax
cmp eax, ecx
jae 0x55de03
push edi
push 1
push eax
mov byte [ebp + eax - 0x210], 0
lea eax, [ebp - 0x210]
push eax
call fcn.005a96a6
add esp, 0x10
lea eax, [esi + 0x3c]
cmp dword [esi + 0x50], 0x10
jb 0x55d935
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x55d960
test dl, dl
je 0x55d95c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x55d960
add ecx, 2
add eax, 2
test dl, dl
jne 0x55d940
xor eax, eax
jmp 0x55d965
sbb eax, eax
or eax, 1
test eax, eax
je 0x55d98c
push 1
push 4
push edi
call fcn.005a9a75
push edi
push 2
lea eax, [ebp - 0x244]
push 1
push eax
call fcn.005a96a6
add esp, 0x1c
jmp 0x55d8eb
movzx eax, word [ebp - 0x244]
mov ecx, 0xfffffffe
push 1
sub ecx, eax
push ecx
push edi
call fcn.005a9a75
add esp, 0xc
jmp 0x55d9c2
lea eax, [ebp - 0x110]
push 0x5d97f4
push eax
call fcn.005a94a9
mov edi, eax
add esp, 8
test edi, edi
je 0x55da41
movzx eax, word [esi + 0x4c]
push edi
push 2
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push 1
push eax
call fcn.005aa485
lea ecx, [esi + 0x3c]
add esp, 0x10
cmp dword [ecx + 0x14], 0x10
jb 0x55d9eb
mov ecx, dword [ecx]
movzx eax, word [ebp - 0x248]
push edi
push 1
push eax
push ecx
call fcn.005aa485
movzx eax, word [esi + 0x6e4]
push edi
push 2
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push 1
push eax
call fcn.005aa485
movzx eax, word [esi + 0x6e8]
push edi
push 2
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push 1
push eax
call fcn.005aa485
push edi
call fcn.005a93b7
add esp, 0x34
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
push 0x20
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x22c], 0xf
call fcn.0059b742
movups xmm0, xmmword [str.LastVerCheckQueryTime]
mov dword [ebp - 0x240], eax
add esp, 4
mov dword [ebp - 0x230], 0x15
mov dword [ebp - 0x22c], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x5e9040]
mov dword [eax + 0x10], ecx
mov cl, byte [0x5e9044]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
push dword [esi + 0x674]
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00549570
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x55daff
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55daf5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55de08
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ax, word [0x5e901c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
mov word [ebp - 0x220], ax
movq xmm0, qword [str.TimesPlayed]
mov al, byte [0x5e901e]
mov dword [ebp - 0x218], 0xb
mov dword [ebp - 0x214], 0xf
movq qword [ebp - 0x228], xmm0
mov byte [ebp - 0x21e], al
mov byte [ebp - 0x21d], 0
push dword [esi + 0x6e4]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00549570
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x55dba8
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55db9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55de0d
push ecx
push edx
call fcn.0059b718
add esp, 8
mov eax, dword [0x5e9028]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], eax
movq xmm0, qword [str.TimesExecuted]
mov al, byte [0x5e902c]
mov dword [ebp - 0x218], 0xd
mov dword [ebp - 0x214], 0xf
movq qword [ebp - 0x228], xmm0
mov byte [ebp - 0x21c], al
mov byte [ebp - 0x21b], 0
push dword [esi + 0x6e8]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00549570
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x55dc4f
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55dc45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55de12
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [esi + 0x6c0], 0
jne 0x55dc96
cmp dword [esi + 0x6a8], 0
jbe 0x55dc8f
cmp dword [esi + 0x6d8], 0
jbe 0x55dc8f
lea eax, [esi + 0x698]
lea edx, [esi + 0x6b0]
cmp edx, eax
je 0x55dc8f
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x55dc84
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.0040c5a0
cmp dword [esi + 0x6c0], 0
jbe 0x55dd41
mov eax, dword [str.RegName]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], eax
mov ax, word [0x5e904c]
mov word [ebp - 0x224], ax
mov al, byte [0x5e904e]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x222], al
mov byte [ebp - 0x221], 0
lea eax, [esi + 0x6b0]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.00549590
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x55dd41
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55dd37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55de17
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [esi + 0x6d8], 0
jbe 0x55dde8
mov eax, dword [str.RegCode]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], eax
mov ax, word [0x5e9054]
mov word [ebp - 0x224], ax
mov al, byte [0x5e9056]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x222], al
mov byte [ebp - 0x221], 0
lea eax, [esi + 0x6c8]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.00549590
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x10
jb 0x55dde8
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55ddde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55de1c
push ecx
push edx
call fcn.0059b718
add esp, 8
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.0059b734
mov esp, ebp
pop ebp
ret
call fcn.0059c2eb
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
int3