Function at 0x670c7480
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6713dfce
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x67221378]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x444]
mov esi, dword [esp + 0x448]
mov ebx, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, ebx
lock xadd dword [eax], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
cmp ecx, 2
mov dword [esp + 0x43c], ebx
jl 0x670c75d2
mov edx, dword [eax + 0xc]
mov ax, word [edx]
lea ecx, [esp + 0x1e]
mov word [esp + 0x1e], ax
call sym.QtCore4.dll_public:_bool___thiscall_QChar::isLetter_void_const
test al, al
je 0x670c75d2
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
cmp word [edx + 2], 0x3a
jne 0x670c75d2
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call sym.QtCore4.dll_public:_class_QString___thiscall_QString::toUpper_void_
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov cx, word [edx]
mov eax, 0xff
cmp ax, cx
sbb al, al
not al
and al, cl
mov ecx, dword [esp + 0x14]
movsx esi, al
sub esi, 0x40
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c7570
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
call dword [sym.imp.MSVCR90.dll__getdrive]
cmp eax, esi
je 0x670c75d2
push 0x200
lea ecx, [esp + 0x34]
push ecx
push esi
call dword [sym.imp.MSVCR90.dll__wgetdcwd]
push 0xffffffffffffffff
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0x18
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], 2
call fcn.6705a9c0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x43c], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c75d2
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 8], 0
jne 0x670c76ba
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [esp + 0x30]
push edx
push 0x200
call edi
test eax, eax
je 0x670c76ba
cmp eax, 0x200
jbe 0x670c7673
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6712fecc
add esp, 4
mov esi, eax
push esi
push 0x200
call edi
test eax, eax
je 0x670c766b
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push esi
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], 3
call fcn.6705a9c0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x43c], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c766b
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
jmp 0x670c76b7
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], 4
call fcn.6705a9c0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x43c], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c76ba
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
cmp eax, 2
jl 0x670c770e
cmp eax, ebx
jle 0x670c76d3
mov eax, dword [ecx + 0xc]
movzx eax, word [eax + 2]
jmp 0x670c76d5
xor eax, eax
cmp ax, 0x3a
jne 0x670c770e
mov ecx, dword [ecx + 0xc]
mov dx, word [ecx]
lea ecx, [esp + 0x14]
lea eax, [esp + 0x18]
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__
lea edx, [esp + 0x18]
push edx
push ebp
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x43c], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c7742
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.671300ac
add esp, 0x42c
ret