Function at 0x670c4f00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6714679e
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x67237378]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67237378]
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 0x670c5058
mov edx, dword [eax + 0xc]
mov ax, word [edx]
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], ax
call sym.QtCore4.dll_public:_bool___thiscall_QChar::isLetter_void_const
test al, al
je 0x670c5058
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
cmp word [edx + 2], 0x3a
jne 0x670c5058
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 ax, word [edx]
mov edx, dword [esp + 0x14]
mov word [esp + 0x1c], ax
mov cx, 0xff
cmp cx, ax
sbb al, al
not al
and eax, dword [esp + 0x1c]
movsx esi, al
sub esi, 0x40
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c4ff6
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
call dword [sym.imp.MSVCR80.dll__getdrive]
cmp eax, esi
je 0x670c5058
push 0x200
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.MSVCR80.dll__wgetdcwd]
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
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.67058a30
mov edx, dword [esp + 0x14]
mov byte [esp + 0x43c], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c5058
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x18]
cmp dword [edx + 8], 0
jne 0x670c5140
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x30]
push eax
push 0x200
call edi
test eax, eax
je 0x670c5140
cmp eax, 0x200
jbe 0x670c50f9
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.67133e6c
add esp, 4
mov esi, eax
push esi
push 0x200
call edi
test eax, eax
je 0x670c50f1
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.67058a30
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x43c], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c50f1
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.MSVCR80.dll_void___cdecl_operator_delete___void__
jmp 0x670c513d
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.67058a30
mov eax, dword [esp + 0x14]
mov byte [esp + 0x43c], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c5140
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 0x670c5194
cmp eax, ebx
jle 0x670c5159
mov eax, dword [ecx + 0xc]
movzx eax, word [eax + 2]
jmp 0x670c515b
xor eax, eax
cmp ax, 0x3a
jne 0x670c5194
mov ecx, dword [ecx + 0xc]
mov dx, word [ecx]
lea ecx, [esp + 0x14]
lea eax, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
mov word [esp + 0x20], 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 0x670c51c8
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.67134048
add esp, 0x42c
ret