Function at 0x44ad40
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x465256
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x210
dec eax
push esi
mov esi, ecx
je 0x44af5e
dec eax
je 0x44af55
sub eax, 0x258
jne 0x44afad
mov esi, dword [esi + 0x368]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x44ad98
mov dword [esp + 4], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x44adbb
mov eax, dword [0x46f42c]
test esi, esi
mov dword [esp + 4], eax
jne 0x44ada9
xor eax, eax
jmp 0x44adb0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0xc]
call fcn.004080a0
push ebx
push ebp
push edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x228], 0
mov esi, 0x3e8
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
jg 0x44ade2
cmp dword [eax - 4], esi
jge 0x44ae42
mov ebp, dword [eax - 8]
cmp ebp, esi
jle 0x44adeb
mov esi, ebp
push esi
lea ecx, [esp + 0x14]
call fcn.00408040
test eax, eax
je 0x44ae42
lea ecx, [ebp + ebp + 2]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x44ae1a
mov edi, dword [esp + 0x10]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebp
mov eax, dword [0x46f430]
cmp ebx, eax
je 0x44ae3e
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44ae3e
push ebx
call fcn.004535f0
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x10]
call fcn.00408290
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x1a]
push 0
push 0x24
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x18]
mov ecx, 0x81
mov word [edx + eax*2], 0
mov ax, word [0x47a15c]
mov word [esp + 0x20], ax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop edi
pop ebp
test eax, eax
pop ebx
je 0x44af24
lea edx, [esp + 0xc]
push str.explorer.exe
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x44af24
mov eax, dword [0x46f42c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x10]
push str._s___s_
push eax
mov byte [esp + 0x22c], 1
call fcn.004076f0
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
push 0xa
push ecx
call fcn.0044d140
mov eax, dword [esp + 0x28]
mov ecx, dword [0x46f430]
add esp, 0x20
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x44af24
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44af24
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44afad
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x44afad
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
jmp 0x44afad
mov ecx, esi
call fcn.0044abe0
jmp 0x44afad
mov eax, dword [esi + 4]
push 0x407
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x44af92
push 0x47b6c0
lea ecx, [esi + 0x380]
call fcn.00442d30
push 1
mov ecx, esi
call fcn.0044abb0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x214]
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret 0xc