Function at 0x469db0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov al, byte [esi + 0x549]
test al, al
push edi
jne 0x469fd7
push 0x100
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x469e07
sub eax, edx
cmp byte [ebp + eax - 0x151], 0x5c
je 0x469e33
lea edi, [ebp - 0x150]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x469e21
mov cx, word [0x4e564c]
mov word [edi], cx
lea edi, [ebp - 0x150]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x469e40
mov edx, dword [str.popcinfo.dat]
mov eax, dword [0x4ea094]
mov ecx, dword [0x4ea098]
mov dword [edi], edx
mov dl, byte [0x4ea09c]
mov dword [edi + 4], eax
lea eax, [ebp - 0x150]
mov dword [edi + 8], ecx
push 0x4ea08c
push eax
mov byte [edi + 0xc], dl
call fcn.004c2ab9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x469f4b
push ebx
push 2
lea ecx, [ebp - 0x2e]
push 1
push ecx
call fcn.004c35d1
add esp, 0x10
test eax, eax
je 0x469f61
mov ax, word [ebp - 0x2e]
cmp ax, 0x100
jae 0x469f0d
movzx eax, ax
push ebx
push 1
push eax
lea edx, [ebp - 0x250]
push edx
mov byte [ebp + eax - 0x250], 0
call fcn.004c35d1
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, 0x10
jb 0x469ed6
mov edi, dword [esi + 0xc]
jmp 0x469ed9
lea edi, [esi + 0xc]
lea eax, [ebp - 0x250]
nop
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x469f04
test cl, cl
je 0x469f00
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x469f04
add eax, 2
add edi, 2
test cl, cl
jne 0x469ee0
xor eax, eax
jmp 0x469f09
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x469f32
push 1
push 4
push ebx
call fcn.004c511d
push ebx
push 2
lea eax, [ebp - 0x2e]
push 1
push eax
call fcn.004c35d1
add esp, 0x1c
test eax, eax
jne 0x469ea1
jmp 0x469f61
movzx ecx, word [ebp - 0x2e]
mov edx, 0xfffffffe
push 1
sub edx, ecx
push edx
push ebx
call fcn.004c511d
add esp, 0xc
jmp 0x469f61
lea eax, [ebp - 0x150]
push 0x4e33b4
push eax
call fcn.004c2ab9
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x469fd7
mov eax, dword [esi + 0x1c]
push ebx
push 2
lea ecx, [ebp - 0x34]
push 1
push ecx
mov dword [ebp - 0x34], eax
call fcn.004c32d0
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, 0x10
jb 0x469f89
mov eax, dword [esi + 0xc]
jmp 0x469f8c
lea eax, [esi + 0xc]
movzx edx, word [ebp - 0x34]
push ebx
push 1
push edx
push eax
call fcn.004c32d0
xor eax, eax
mov ax, word [esi + 0x534]
push ebx
push 2
lea ecx, [ebp - 0x30]
push 1
push ecx
mov dword [ebp - 0x30], eax
call fcn.004c32d0
xor edx, edx
mov dx, word [esi + 0x538]
push ebx
push 2
lea eax, [ebp - 0x30]
push 1
push eax
mov dword [ebp - 0x30], edx
call fcn.004c32d0
push ebx
call fcn.004c2a0c
add esp, 0x34
mov eax, str.MusicVolume
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x469ff1
sub eax, edx
push eax
push str.MusicVolume
lea ecx, [ebp - 0x2c]
call fcn.004025c3
fld qword [esi + 0x78]
fmul qword [0x4e4c00]
mov dword [ebp - 4], 0
call fcn.004c331c
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00469d60
mov eax, dword [ebp - 0x14]
or edi, 0xffffffff
mov ebx, 0x10
cmp eax, ebx
mov dword [ebp - 4], edi
jb 0x46a047
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.SfxVolume
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a061
sub eax, edx
push eax
push str.SfxVolume
lea ecx, [ebp - 0x2c]
call fcn.004025c3
fld qword [esi + 0x80]
fmul qword [0x4e4c00]
mov dword [ebp - 4], 1
call fcn.004c331c
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a0b0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, str.Muted
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a0d0
sub eax, edx
push eax
push str.Muted
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov eax, dword [esi + 0x494]
mov edx, dword [esi + 0x490]
sub edx, eax
xor eax, eax
test edx, edx
setg al
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push ecx
mov ecx, esi
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a123
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.ScreenMode
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a140
sub eax, edx
push eax
push str.ScreenMode
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov dl, byte [esi + 0x30e]
xor eax, eax
test dl, dl
sete al
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
push eax
push ecx
mov ecx, esi
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a18b
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.PreferredX
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a1a5
sub eax, edx
push eax
push str.PreferredX
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov eax, dword [esi + 0x60]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a1e6
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.PreferredY
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a200
sub eax, edx
push eax
push str.PreferredY
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov eax, dword [esi + 0x64]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a241
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.CustomCursors
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
jmp 0x46a260
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a260
sub eax, edx
push eax
push str.CustomCursors
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov dl, byte [esi + 0x533]
xor eax, eax
test dl, dl
setne al
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 6
push eax
push ecx
mov ecx, esi
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a2ab
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.ITSuccess
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a2c5
sub eax, edx
push eax
push str.ITSuccess
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov dl, byte [esi + 0x338]
xor eax, eax
test dl, dl
setne al
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 7
push eax
push ecx
mov ecx, esi
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a310
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.TimesPlayed
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a330
sub eax, edx
push eax
push str.TimesPlayed
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov eax, dword [esi + 0x534]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a374
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.TimesExecuted
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a390
sub eax, edx
push eax
push str.TimesExecuted
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov eax, dword [esi + 0x538]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a3d4
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.LastVerCheckQueryTime
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a3f0
sub eax, edx
push eax
push str.LastVerCheckQueryTime
lea ecx, [ebp - 0x2c]
call fcn.004025c3
mov eax, dword [esi + 0x420]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xa
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a434
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.InProgress
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a450
sub eax, edx
push eax
push str.InProgress
lea ecx, [ebp - 0x2c]
call fcn.004025c3
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xb
call fcn.00469d60
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a48f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, str.WaitForVSync
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a4b0
sub eax, edx
push eax
push str.WaitForVSync
lea ecx, [ebp - 0x2c]
call fcn.004025c3
xor edx, edx
mov dl, byte [esi + 0x5cb]
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 4], 0xc
push edx
push eax
call fcn.00469d80
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a4f6
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, dword [esi + 0x454]
test eax, eax
jne 0x46a531
mov eax, dword [esi + 0x438]
test eax, eax
jbe 0x46a529
mov eax, dword [esi + 0x470]
test eax, eax
jbe 0x46a529
push edi
push 0
lea edx, [esi + 0x424]
push edx
lea ecx, [esi + 0x440]
call fcn.004024d0
mov eax, dword [esi + 0x454]
test eax, eax
jbe 0x46a594
mov eax, str.RegName
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a550
sub eax, edx
push eax
push str.RegName
lea ecx, [ebp - 0x2c]
call fcn.004025c3
lea eax, [esi + 0x440]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.00469d20
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
jb 0x46a594
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, dword [esi + 0x470]
test eax, eax
jbe 0x46a5f9
mov eax, str.RegCode
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a5b8
sub eax, edx
push eax
push str.RegCode
lea ecx, [ebp - 0x50]
call fcn.004025c3
lea eax, [esi + 0x45c]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xe
call fcn.00469d20
cmp dword [ebp - 0x38], ebx
jb 0x46a5f9
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004c2b1b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.004c478a
mov esp, ebp
pop ebp
ret