Function at 0x44d9f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c0
mov eax, dword [0x4ea418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x114]
push 0x104
push 0
push esi
call fcn.0049dcc0
add esp, 0xc
push 1
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x44daf8
push 0x18
call fcn.00494206
add esp, 4
mov esi, eax
cmp eax, str.config_systemprofile
ja 0x44da52
lea eax, [esi + 0x14]
cmp eax, str.config_systemprofile
ja 0x44dd2c
movdqu xmm0, xmmword [str.config_systemprofile]
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0x656c6966
mov byte [esi + 0x14], 0
push 0x20
call fcn.00494206
add esp, 4
mov edi, eax
cmp eax, str.localservice_application_data
ja 0x44da8a
lea eax, [edi + 0x1d]
cmp eax, str.localservice_application_data
ja 0x44dd2c
movups xmm0, xmmword [0x4d97df]
movups xmmword [edi + 0xd], xmm0
movdqu xmm0, xmmword [str.localservice_application_data]
movdqu xmmword [edi], xmm0
mov byte [edi + 0x1d], 0
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x118], 0xffffffff
lea eax, [ebp - 0x114]
push eax
call fcn.004b7fc0
add esp, 4
cmp eax, 0x7ffffff8
jae 0x44dd3b
mov ebx, eax
cmp eax, 0xa
mov dword [ebp - 0x1cc], edi
ja 0x44daff
mov byte [ebp - 0x115], bl
lea eax, [ebp - 0x120]
jmp 0x44db26
xor ebx, ebx
jmp 0x44dc8d
mov edi, ebx
or edi, 7
inc edi
push edi
call fcn.00494206
add esp, 4
mov dword [ebp - 0x120], eax
or edi, 0x80000000
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], ebx
lea edi, [eax + ebx]
lea edx, [ebp - 0x114]
cmp edi, edx
seta cl
cmp eax, edx
ja 0x44db40
test cl, cl
jne 0x44dd2c
test ebx, ebx
je 0x44db55
push ebx
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.0049d740
add esp, 0xc
mov byte [edi], 0
movzx ebx, byte [ebp - 0x115]
test bl, bl
jns 0x44db7a
mov eax, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x11c]
cmp ebx, 0x14
jl 0x44dc5d
jmp 0x44db89
lea eax, [ebp - 0x120]
cmp ebx, 0x14
jl 0x44dc5d
lea edi, [eax + ebx]
mov ecx, ebx
mov dword [ebp - 0x1c8], eax
nop word cs:[eax + eax]
add ecx, 0xffffffed
push ecx
push 0x63
push eax
call fcn.0049c010
add esp, 0xc
test eax, eax
je 0x44dbfc
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [esi]
pcmpeqb xmm1, xmm0
movd xmm0, dword [eax + 0x10]
movd xmm2, dword [esi + 0x10]
pcmpeqb xmm2, xmm0
pand xmm2, xmm1
pmovmskb ecx, xmm2
cmp ecx, 0xffff
je 0x44dbe9
inc eax
mov ecx, edi
sub ecx, eax
cmp ecx, 0x14
jge 0x44dba0
jmp 0x44dbfc
cmp eax, edi
je 0x44dbfc
sub eax, dword [ebp - 0x1c8]
cmp eax, 0xffffffff
jne 0x44dcb5
cmp ebx, 0x1d
jl 0x44dc5d
mov eax, dword [ebp - 0x1c8]
nop word [eax + eax]
add ebx, 0xffffffe4
push ebx
push 0x6c
push eax
call fcn.0049c010
add esp, 0xc
test eax, eax
je 0x44dc5d
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0xd]
mov ecx, dword [ebp - 0x1cc]
movdqu xmm2, xmmword [ecx]
pcmpeqb xmm2, xmm0
movdqu xmm0, xmmword [ecx + 0xd]
pcmpeqb xmm0, xmm1
pand xmm0, xmm2
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x44dca4
inc eax
mov ebx, edi
sub ebx, eax
cmp ebx, 0x1d
jge 0x44dc10
xor ebx, ebx
cmp byte [ebp - 0x115], 0
jns 0x44dc76
push dword [ebp - 0x120]
call fcn.00494236
add esp, 4
push dword [ebp - 0x1cc]
call fcn.00494236
add esp, 4
push esi
call fcn.00494236
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004961ed
mov eax, ebx
add esp, 0x1c0
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
cmp eax, edi
je 0x44dc5f
sub eax, dword [ebp - 0x1c8]
cmp eax, 0xffffffff
je 0x44dc5f
push 0x1d
push str....._base360qihoo_util.cc
call fcn.004574e0
add esp, 8
mov bl, 1
test eax, eax
jle 0x44dc5f
lea ecx, [ebp - 0x1c4]
push 0xffffffffffffffff
push 0x2a5
push str....._base360qihoo_util.cc
call fcn.00457540
lea eax, [ebp - 0x1bc]
push 0x36
push str.IsSystemPrivilegeImp__SHGetSpecialFolderPathA_szPath_
push eax
call fcn.0041b946
add esp, 0xc
mov dword [ebp - 0x1c8], eax
lea edi, [ebp - 0x114]
push edi
call fcn.004b7fc0
add esp, 4
push eax
push edi
push dword [ebp - 0x1c8]
call fcn.0041b946
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.00457960
jmp 0x44dc5f
push str....._third_partylibc_srcinclude__stringchar_traits.h:245:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
push 0x4d348e
call fcn.00424574
lea ecx, [ebp - 0x120]
call fcn.00412510
int3