Function at 0x670e6e50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x67160b4d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x672699e0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [esp + 0x30]
push edx
push 0x104
mov dword [esp + 0x24c], 1
call ebp
mov esi, eax
test esi, esi
je 0x670e6f80
cmp esi, 0x104
jbe 0x670e6f47
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6715086a
add esp, 4
mov edi, eax
push edi
push 0x104
call ebp
test eax, eax
je 0x670e6f3f
push esi
lea eax, [esp + 0x1c]
push edi
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e6f3f
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
jmp 0x670e6f7d
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e6f80
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
cmp eax, 2
jl 0x670e6fd5
cmp eax, 1
jle 0x670e6f9a
mov eax, dword [ecx + 0xc]
movzx eax, word [eax + 2]
jmp 0x670e6f9c
xor eax, eax
cmp ax, 0x3a
jne 0x670e6fd5
mov ecx, dword [ecx + 0xc]
mov dx, word [ecx]
lea ecx, [esp + 0x18]
lea eax, [esp + 0x14]
push ecx
lea ecx, [esp + 0x22]
mov word [esp + 0x22], dx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call sym.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
push eax
lea ecx, [esp + 0x28]
call sym.QtCore4.dll_public:_class_QCharRef____thiscall_QCharRef::operator_class_QChar_const__
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.670d61e0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [esp + 0x244], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670e7015
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.671509a6
add esp, 0x234
ret