Function at 0x4aa720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x52600c]
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
mov dword [ebp - 0x2e8], esi
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], 0
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004bf140
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa828
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.00428740
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x27c]
call fcn.0049d120
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x4aa878
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4aa86f
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00428740
lea ecx, [ebp - 0x2c8]
call fcn.00428650
cmp dword [ebp - 0x268], 0x10
lea ecx, [ebp - 0x21c]
push 0
push 0
push 0x104
push ecx
push 0
push 0
push 0
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push 0
push eax
call fcn.004c31e9
add esp, 0x24
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa8e0
sub ecx, edx
lea eax, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00428740
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x234]
cmp ecx, eax
je 0x4aa927
cmp dword [ebp - 0x220], 0x10
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.00428740
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.00428650
push 0x6a
lea ecx, [ebp - 0x294]
call fcn.004a9d60
push 0x6c
lea ecx, [ebp - 0x2ac]
call fcn.004a9d60
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 8
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa990
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00428740
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.004a98f0
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.004ab2c0
lea edi, [esi + 0x6c]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x234]
cmp edi, eax
je 0x4aaa09
cmp dword [ebp - 0x220], 0x10
mov ecx, edi
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.00428740
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x2e4]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
call fcn.00428650
xor ecx, ecx
lea eax, [ebp - 0x234]
mov edx, 0xf
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], edx
mov byte [ebp - 0x234], cl
mov byte [ebp - 4], 0xc
cmp eax, edi
je 0x4aaa7c
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4aaa61
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x234]
push eax
call fcn.00428740
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
add esi, 0x90
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x4aaaa3
cmp edx, 0x10
push ecx
cmovae eax, dword [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00428740
lea ecx, [ebp - 0x234]
call fcn.00428650
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], edx
mov byte [ebp - 0x234], cl
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xe
cmp eax, edi
je 0x4aaafa
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4aaadf
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x234]
push eax
call fcn.00428740
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x2b0], 0x7000
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
cmp edx, 0x10
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00428740
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b0], 0xf000
call fcn.0047bc20
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.004a98f0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x12
cmp esi, eax
je 0x4aab9d
cmp dword [ebp - 0x2d0], 0x10
mov ecx, esi
push dword [ebp - 0x2d4]
cmovae eax, dword [ebp - 0x2e4]
push eax
call fcn.00428740
lea ecx, [ebp - 0x2e4]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
call fcn.00428650
lea ecx, [ebp - 0x234]
call fcn.00428650
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0xf
mov byte [ebp - 0x2e4], 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x13
cmp eax, esi
je 0x4aac00
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4aabf1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2e4]
push eax
call fcn.00428740
push str.Save
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0049d2d0
push eax
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x15
push eax
call fcn.004a98f0
mov edi, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2c8]
add edi, 0xb4
mov byte [ebp - 4], 0x16
cmp edi, eax
je 0x4aac62
cmp dword [ebp - 0x2b4], 0x10
mov ecx, edi
push dword [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2c8]
push eax
call fcn.00428740
lea ecx, [ebp - 0x2c8]
call fcn.00428650
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 4
call fcn.00428650
push 0x70
call fcn.004bcfeb
mov dword [ebp - 0x2cc], eax
push 0x70
push 0
push eax
call fcn.004bf140
add esp, 0x10
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x18
cmp eax, esi
je 0x4aace3
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4aacd4
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.00428740
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x2b0], 0x37001
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004ab2c0
push str._inst.xml
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], 0x1a
push ecx
mov ecx, eax
mov dword [ebp - 0x2b0], 0x37003
call fcn.0049d2d0
mov dword [ebp - 4], 0x1b
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2b0], 0x37007
jb 0x4aad47
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2cc]
push eax
call fcn.004ab460
mov esi, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x2e4]
mov dword [esi + 0x17c], eax
call fcn.00428650
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 4
call fcn.00428650
mov ecx, dword [esi + 0x17c]
call fcn.004ab5b0
push 0x65
lea ecx, [esi + 0x24]
call fcn.004a9d60
push 0x70
call fcn.004bcfeb
mov dword [ebp - 0x2cc], eax
push 0x70
push 0
push eax
call fcn.004bf140
add esp, 0x10
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x20
cmp eax, edi
je 0x4aadf8
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4aade9
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.00428740
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x2b0], 0x77008
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004ab2c0
push str..xml
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], 0x22
push ecx
mov ecx, eax
mov dword [ebp - 0x2b0], 0x77018
call fcn.0049d2d0
mov dword [ebp - 4], 0x23
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2b0], 0x77038
jb 0x4aae5c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2cc]
push eax
call fcn.004ab460
lea ecx, [ebp - 0x2e4]
mov dword [esi + 0x180], eax
call fcn.00428650
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 4
call fcn.00428650
mov ecx, dword [esi + 0x180]
call fcn.004ab5b0
push 0x70
call fcn.004bcfeb
mov dword [ebp - 0x2cc], eax
push 0x70
push 0
push eax
call fcn.004bf140
add esp, 0x10
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x28
cmp eax, edi
je 0x4aaefd
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4aaeee
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.00428740
push str.system
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b0], 0xf7040
call fcn.0049d2d0
push str..xml
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], 0x2a
push ecx
mov ecx, eax
mov dword [ebp - 0x2b0], 0xf70c0
call fcn.0049d2d0
mov dword [ebp - 4], 0x2b
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2b0], 0xf71c0
jb 0x4aaf5f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2cc]
push eax
call fcn.004ab460
lea ecx, [ebp - 0x2e4]
mov dword [esi + 0x188], eax
call fcn.00428650
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 4
call fcn.00428650
mov ecx, dword [esi + 0x188]
call fcn.004ab5b0
cmp dword [esi + 0x68], 0x10
lea edx, [esi + 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
movups xmmword [ebp - 0x258], xmm0
movups xmmword [ebp - 0x248], xmm0
jb 0x4aafca
mov edx, dword [edx]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov ecx, edx
mov byte [ebp - 4], 0x30
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ab010
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00428740
mov byte [ebp - 4], 0x31
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x4ab044
push ecx
call fcn.004aa0c0
mov dword [esi + 0x184], 0
push 0x70
call fcn.004bcfeb
mov edi, eax
mov dword [ebp - 0x2cc], edi
push 0x70
push 0
push edi
call fcn.004bf140
add esp, 0x10
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 0x10
lea ecx, [ebp - 0x2c8]
push dword [ebp - 0x248]
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.00428740
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x34
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x2b0], 0x1f7200
push eax
call fcn.004a98f0
push str.FileInfo.xml
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], 0x35
push ecx
mov ecx, eax
mov dword [ebp - 0x2b0], 0x1f7600
call fcn.0049d2d0
mov dword [ebp - 4], 0x36
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2b0], 0x1f7e00
jb 0x4ab103
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.004ab460
lea ecx, [ebp - 0x2e4]
mov dword [esi + 0x184], eax
call fcn.00428650
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 0x31
call fcn.00428650
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x4ab150
call fcn.004ab5b0
test eax, eax
jne 0x4ab271
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
mov byte [ebp - 4], 0x3b
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 0x10
lea ecx, [ebp - 0x2c8]
push dword [ebp - 0x248]
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.00428740
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x3c
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004a98f0
push str.FileInfo.xml
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x3d
push ecx
mov ecx, eax
call fcn.0049d2d0
sub esp, 0x18
mov byte [ebp - 4], 0x3e
movups xmm0, xmmword [eax]
mov ecx, esp
push str.Load_Error:_n_s
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x234]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.004a9b80
add esp, 0x24
lea ecx, [ebp - 0x2e4]
call fcn.00428650
lea ecx, [ebp - 0x300]
call fcn.00428650
lea ecx, [ebp - 0x318]
call fcn.00428650
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x3a
call fcn.00428650
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
mov ecx, 0x565cc0
push eax
mov eax, dword [0x565cc0]
call dword [eax + 4]
lea ecx, [ebp - 0x234]
call fcn.00428650
lea ecx, [ebp - 0x258]
call fcn.00463480
lea ecx, [ebp - 0x27c]
call fcn.00463480
lea ecx, [ebp - 0x2ac]
call fcn.00428650
lea ecx, [ebp - 0x294]
call fcn.00428650
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.004bcfcc
mov esp, ebp
pop ebp
ret