Function at 0x44a780
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ba9d7
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4bc]
mov ebx, ecx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x14], eax
call fcn.00448930
xor ebp, ebp
mov ecx, 0x105
mov dword [esp + 0x4b4], ebp
lea esi, [esp + 0x144]
mov dword [esp + 0x25c], ecx
call fcn.004495a0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x44a80d
mov eax, dword [esp + 0x144]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add eax, 4
push eax
push ebp
push ebp
push 0x1a
push ebp
call edi
test eax, eax
je 0x44a90c
cmp dword [esp + 0x25c], ebp
je 0x44a836
mov dword [esp + 0x25c], ebp
mov ecx, 1
lea esi, [esp + 0x144]
mov dword [esp + 0x140], ebp
call fcn.004495a0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x44a866
mov eax, dword [esp + 0x144]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, 0x105
lea esi, [esp + 0x144]
mov dword [esp + 0x25c], ecx
call fcn.004495a0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x44a89c
mov eax, dword [esp + 0x144]
add eax, 4
push eax
push 1
push ebp
push 0x1a
push ebp
call edi
test eax, eax
je 0x44a90c
lea ecx, [esp + 0x13c]
call fcn.00448ae0
mov ecx, dword [esp + 0x14]
call fcn.00447720
push 0x4e36fc
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x258], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x44a905
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x148]
cmp eax, edx
je 0x44a905
push eax
call fcn.00498f5b
add esp, 4
xor al, al
jmp 0x44abb6
lea edi, [esp + 0x13c]
call fcn.00448df0
cmp byte [esp + 0x258], 0
lea esi, [esp + 0x148]
jne 0x44a930
mov esi, dword [esp + 0x144]
lea ecx, [esp + 0x260]
call fcn.00448930
lea eax, [esi + 4]
lea edx, [esp + 0x260]
call fcn.00448b50
mov byte [esp + 0x4b4], 0
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x44a96b
mov eax, dword [esp + 0x268]
lea ebp, [ebx + 0x250]
add eax, 4
mov edx, ebp
call fcn.00448b50
cmp byte [esp + 0x37c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x260], esi
jne 0x44a9ac
mov eax, dword [esp + 0x268]
lea ecx, [esp + 0x26c]
cmp eax, ecx
je 0x44a9ac
push eax
call fcn.00498f5b
add esp, 4
cmp byte [ebx + 4], 0
je 0x44ab88
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x44a9c5
mov eax, dword [ebp + 8]
add eax, 4
push 0x5c
push eax
call fcn.00499142
add esp, 8
test eax, eax
jne 0x44a9ea
cmp byte [ebp + 0x11c], al
lea eax, [ebp + 0xc]
jne 0x44a9e5
mov eax, dword [ebp + 8]
add eax, 4
jmp 0x44a9ed
add eax, 2
push eax
lea ecx, [esp + 0x388]
call fcn.00448a70
mov ecx, str.Application_Data
lea eax, [esp + 0x384]
mov byte [esp + 0x4b4], 2
call fcn.00448c30
test al, al
je 0x44ab57
mov ebx, str.AppDataRoaming
xor edx, edx
cmp edx, ebx
jne 0x44aa2b
mov ebx, 0x4d6464
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44aa30
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x38c]
mov dword [esp + 0x388], eax
call fcn.004495a0
cmp byte [esp + 0x4a0], 0
lea eax, [esp + 0x390]
jne 0x44aa6f
mov eax, dword [esp + 0x38c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.0049c670
add esp, 0xc
lea ecx, [esp + 0x260]
call fcn.00443d50
lea edx, [esp + 0x260]
push edx
mov ecx, ebp
mov byte [esp + 0x4b8], 3
call fcn.00445ae0
cmp byte [esp + 0x4a0], 0
lea esi, [esp + 0x390]
jne 0x44aabb
mov esi, dword [esp + 0x38c]
lea ecx, [esp + 0x18]
call fcn.00448930
lea eax, [esi + 4]
lea edx, [esp + 0x18]
call fcn.00448b50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x264]
call fcn.00444630
cmp byte [esp + 0x134], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x18], esi
jne 0x44ab09
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x44ab09
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x44ab21
mov eax, dword [esp + 0x268]
add eax, 4
mov edx, ebp
call fcn.00448b50
cmp byte [esp + 0x37c], 0
mov dword [esp + 0x260], esi
jne 0x44ab57
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x26c]
cmp eax, edx
je 0x44ab57
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x4a0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x384], esi
jne 0x44ab88
mov eax, dword [esp + 0x38c]
lea ecx, [esp + 0x390]
cmp eax, ecx
je 0x44ab88
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x258], 0
mov dword [esp + 0x13c], esi
jne 0x44abb4
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x148]
cmp eax, edx
je 0x44abb4
push eax
call fcn.00498f5b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.00497c58
add esp, 0x4a4
ret 4