Function at 0x44d9d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ba7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x5b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x5d0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5e0]
mov ebx, ecx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x14], eax
call fcn.00448930
mov ebp, 0x105
mov dword [esp + 0x5d8], 0
mov ecx, ebp
lea esi, [esp + 0x144]
mov dword [esp + 0x25c], ebp
call fcn.004495a0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x44da61
mov eax, dword [esp + 0x144]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add eax, 4
push eax
push 0
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x44db62
xor eax, eax
cmp dword [esp + 0x25c], eax
je 0x44da8f
mov dword [esp + 0x25c], eax
mov ecx, 1
lea esi, [esp + 0x144]
mov dword [esp + 0x140], eax
call fcn.004495a0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x44dabf
mov eax, dword [esp + 0x144]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, ebp
lea esi, [esp + 0x144]
mov dword [esp + 0x25c], ebp
call fcn.004495a0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x44daf2
mov eax, dword [esp + 0x144]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x44db62
lea ecx, [esp + 0x13c]
call fcn.00448ae0
mov ecx, ebx
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 0x44db5b
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x148]
cmp eax, edx
je 0x44db5b
push eax
call fcn.00498f5b
add esp, 4
xor al, al
jmp 0x44de1d
lea edi, [esp + 0x13c]
call fcn.00448df0
cmp byte [esp + 0x258], 0
lea esi, [esp + 0x148]
jne 0x44db86
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 + 0x5d8], 2
call fcn.0044d4e0
mov ebx, vtable.t_str.0
test al, al
je 0x44dd9f
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x44dbd3
mov eax, dword [esp + 0x268]
add eax, 4
push 0x5c
push eax
call fcn.00499142
add esp, 8
test eax, eax
jne 0x44dc01
cmp byte [esp + 0x37c], al
lea eax, [esp + 0x26c]
jne 0x44dbfc
mov eax, dword [esp + 0x268]
add eax, 4
jmp 0x44dc04
add eax, 2
push eax
lea ecx, [esp + 0x388]
call fcn.00448a70
mov ecx, str.Application_Data
lea eax, [esp + 0x384]
mov byte [esp + 0x5d8], 3
call fcn.00448c30
test al, al
je 0x44dd73
mov ebp, str.AppDataRoaming
xor eax, eax
cmp eax, ebp
jne 0x44dc42
mov ebp, 0x4d6464
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44dc47
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 0x44dc86
mov eax, dword [esp + 0x38c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.0049c670
add esp, 0xc
lea ecx, [esp + 0x4a8]
call fcn.00443d50
lea edx, [esp + 0x4a8]
push edx
lea ecx, [esp + 0x264]
mov byte [esp + 0x5dc], 4
call fcn.00445ae0
cmp byte [esp + 0x4a0], 0
lea esi, [esp + 0x390]
jne 0x44dcd7
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 + 0x4ac]
call fcn.00444630
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], ebx
jne 0x44dd20
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x44dd20
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x5c4], 0
lea eax, [esp + 0x4b4]
jne 0x44dd38
mov eax, dword [esp + 0x4b0]
add eax, 4
lea edx, [esp + 0x260]
call fcn.00448b50
cmp byte [esp + 0x5c4], 0
mov dword [esp + 0x4a8], ebx
jne 0x44dd73
mov eax, dword [esp + 0x4b0]
lea edx, [esp + 0x4b4]
cmp eax, edx
je 0x44dd73
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x4a0], 0
mov dword [esp + 0x384], ebx
jne 0x44dd9f
mov eax, dword [esp + 0x38c]
lea ecx, [esp + 0x390]
cmp eax, ecx
je 0x44dd9f
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x44ddb7
mov eax, dword [esp + 0x268]
mov edx, dword [esp + 0x14]
add eax, 4
call fcn.00448b50
cmp byte [esp + 0x37c], 0
mov dword [esp + 0x260], ebx
jne 0x44ddef
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x26c]
cmp eax, edx
je 0x44ddef
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x258], 0
mov dword [esp + 0x13c], ebx
jne 0x44de1b
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x148]
cmp eax, ecx
je 0x44de1b
push eax
call fcn.00498f5b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x5d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5b8]
xor ecx, esp
call fcn.00497c58
add esp, 0x5c8
ret