Function at 0x10044450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b645f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e01f0]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
mov eax, dword [0x100e01f0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
add eax, 0x108
push 0x100c6878
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1000a440
add esp, 0xc
push 1
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], 0
call fcn.10002fe0
push eax
call fcn.10035a20
mov eax, dword [esi]
add esp, 8
cmp dword [eax + 0x10c], 0
je 0x1004452a
lea ecx, [esp + 0x14]
call fcn.10026d70
mov eax, dword [esi]
push ecx
add eax, 0x108
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.10008320
mov byte [esp + 0x244], 1
mov ecx, dword [0x100e28bc]
push 0xb041
call fcn.1002c720
push ecx
mov ecx, esp
push eax
call fcn.10006710
push SysReAllocString
lea ecx, [esp + 0x20]
mov byte [esp + 0x24c], 0
call fcn.10028040
push 0x100c52aa
lea ecx, [esp + 0x1c]
call fcn.100023a0
push 0
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov byte [esp + 0x250], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
js 0x100445fa
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10006710
push 0x100c6890
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x24c], 3
call fcn.1000a440
add esp, 0xc
mov byte [esp + 0x240], 4
mov ecx, dword [esi]
add ecx, 0x108
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10006a90
add esp, 0xc
push str..lnk
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24c], 5
call fcn.1000a440
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 6
call fcn.100067d0
lea ecx, [esp + 0x14]
call fcn.10004030
lea ecx, [esp + 0x20]
call fcn.10004030
lea ecx, [esp + 0x10]
call fcn.10004030
lea ecx, [esp + 0xc]
mov byte [esp + 0x240], 2
call fcn.10004030
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call fcn.10008320
call fcn.100328d0
add esp, 4
test al, al
je 0x1004462a
push 3
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
push eax
call fcn.10008320
call fcn.10032b90
add esp, 8
mov eax, dword [esi]
mov eax, dword [eax + 0x118]
cmp eax, 1
jne 0x1004469b
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x100c6894
call fcn.100023a0
lea eax, [esp + 0x14]
mov byte [esp + 0x248], 7
mov ecx, dword [esi]
push eax
call fcn.10014870
push ecx
mov ecx, esp
lea edx, [esp + 0x28]
push edx
push eax
push ecx
mov byte [esp + 0x258], 8
call fcn.10006a90
add esp, 0xc
mov byte [esp + 0x24c], 9
call fcn.100348d0
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x240], 2
call fcn.10004030
jmp 0x100446a5
cmp eax, 2
jne 0x100446a5
call fcn.100447e0
mov ecx, dword [esi]
add ecx, 0x124
call fcn.100066b0
test al, al
jne 0x10044760
mov eax, dword [esi]
mov eax, dword [eax + 0x134]
cmp eax, 1
jne 0x10044756
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._uninstall
call fcn.100023a0
lea eax, [esp + 0x18]
mov byte [esp + 0x248], 0xa
mov ecx, dword [esi]
push eax
call fcn.10014870
mov byte [esp + 0x248], 0xb
mov ecx, dword [esi]
add ecx, 0x124
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10006a90
add esp, 8
mov ecx, esp
push 0x100c68ac
push eax
push ecx
mov byte [esp + 0x258], 0xc
call fcn.1000a440
add esp, 0xc
mov byte [esp + 0x24c], 0xe
call fcn.100348d0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.10004030
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 2
call fcn.10004030
jmp 0x10044760
cmp eax, 2
jne 0x10044760
call fcn.100447e0
mov ecx, dword [esi]
push 3
lea eax, [esp + 0x10]
push eax
call fcn.10014870
push ecx
mov ecx, esp
lea edx, [esp + 0x24]
push edx
push eax
push ecx
mov byte [esp + 0x254], 0xf
call fcn.10006a90
add esp, 0xc
call fcn.10032b90
add esp, 8
lea ecx, [esp + 0xc]
call fcn.10004030
lea ecx, [esp + 0x18]
call fcn.10004030
lea ecx, [esp + 0x1c]
call fcn.10004030
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret 4