Function at 0x100598e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x1005a014
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.Qt5Core.dll_public:_class_QChar___thiscall_QString::at_int_const]
mov byte [esp + 0x38], 0x40
lea ecx, [esp + 0x16]
push dword [esp + 0x38]
mov si, word [eax]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
cmp si, word [esp + 0x16]
je 0x1005a014
push 1
push 0x100e65a0
push 4
lea ecx, [esp + 0x94]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const]
test al, al
jne 0x1005a014
mov bh, byte [ebx + 0x17]
lea ecx, [esp + 0x24]
mov byte [esp + 0x16], bh
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov cl, byte [edi + 0x37]
mov ebp, 0xffff
mov al, cl
mov bl, cl
shr bl, 2
not al
and al, 1
and bl, 1
and cl, 6
mov byte [esp + 0x20], al
setne byte [esp + 0x38]
test cl, cl
jne 0x100599b8
mov ebp, dword [edi]
mov cl, byte [edi + 0x34]
xor eax, eax
push dword [edi + 0x1c]
test cl, cl
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x18], cl
setne al
mov dword [esp + 0x38], eax
call dword [sym.imp.Qt5Gui.dll_public:_static_enum_QFont::Weight___cdecl_QPlatformFontDatabase::weightFromInteger_int_]
add esp, 4
mov dword [esp + 0x2c], eax
call fcn.1005d5e0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10059b55
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push ecx
mov eax, esp
lea ecx, [esp + 0x40]
mov dword [eax], 3
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTextStream::constructor_class_QString___class_QFlags_enum_QIODevice::OpenModeFlag__]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_const__]
lea ecx, [esp + 0x3c]
push str.addFontToDatabase
call edi
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_]
mov ecx, eax
push 0x20
call esi
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___class_QString_const__]
push 0x20
mov ecx, eax
call esi
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___int_]
movzx ecx, bh
push ecx
mov ecx, eax
call esi
push str._TTF
mov ecx, eax
call edi
movzx ecx, bl
push ecx
mov ecx, eax
call esi
mov ebx, dword [esp + 0x9c]
test bl, 2
je 0x10059a7e
push str._DEVICE
lea ecx, [esp + 0x40]
call edi
test bl, 1
je 0x10059a8e
push str._RASTER
lea ecx, [esp + 0x40]
call edi
test bl, 4
je 0x10059a9e
push str._TRUETYPE
lea ecx, [esp + 0x40]
call edi
push str._scalable
lea ecx, [esp + 0x40]
call edi
movzx ecx, byte [esp + 0x38]
push ecx
mov ecx, eax
call esi
push str._Size
mov ecx, eax
call edi
push ebp
mov ecx, eax
call esi
push str._Style
mov ecx, eax
call edi
push dword [esp + 0x34]
mov ecx, eax
call esi
push str._Weight
mov ecx, eax
call edi
push dword [esp + 0x2c]
mov ecx, eax
call esi
push str._stretch
mov ecx, eax
call edi
push 0x64
mov ecx, eax
call esi
call fcn.1005d5e0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10059b3f
call fcn.1005d5e0
lea ecx, [esp + 0x6c]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
lea ecx, [esp + 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QTextStream::destructor_void_]
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x10059b5c
mov ebx, dword [esp + 0x9c]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push dword [esp + 0x64]
lea eax, [esp + 0x54]
push eax
call fcn.1005e210
lea eax, [esp + 0x90]
push eax
call fcn.1005e670
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
add esp, 0xc
test al, al
je 0x10059bc5
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x10059bc5
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
call esi
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x10059c19
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
call esi
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x4c]
call esi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
call esi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x8c]
call esi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x90]
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QSupportedWritingSystems::constructor_void_]
test bl, 4
je 0x10059cb8
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_static_class_QSupportedWritingSystems___cdecl_QPlatformFontDatabase::writingSystemsFromTrueTypeBits_unsigned_int__const__unsigned_int__const_]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QSupportedWritingSystems____thiscall_QSupportedWritingSystems::operator_class_QSupportedWritingSystems_const__]
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QSupportedWritingSystems::destructor_void_]
push 0x13
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QSupportedWritingSystems::supported_enum_QFontDatabase::WritingSystem_const]
test al, al
je case.0x10059ccb.1
push str.Segoe_UI
push 8
lea ecx, [esp + 0x90]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const]
test al, al
je case.0x10059ccb.1
push 0
push 0x13
jmp 0x10059d27
movzx eax, byte [esp + 0x16]
cmp eax, 0xee
ja case.0x10059ccb.1
movzx eax, byte [eax + 0x1005a07c]
jmp dword [eax*4 + 0x1005a048]
mov eax, 1
jmp 0x10059d24
mov eax, 2
jmp 0x10059d24
mov eax, 3
jmp 0x10059d24
mov eax, 5
jmp 0x10059d24
mov eax, 6
jmp 0x10059d24
mov eax, 0x13
jmp 0x10059d24
mov eax, 0x19
jmp 0x10059d24
mov eax, 0x1a
jmp 0x10059d24
mov eax, 0x1b
jmp 0x10059d24
mov eax, 0x1c
jmp 0x10059d24
mov eax, 0x1d
jmp 0x10059d24
mov eax, 0x1e
push 1
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QSupportedWritingSystems::setSupported_enum_QFontDatabase::WritingSystem__bool_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
mov ebx, dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
test al, al
jne 0x10059d96
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x8c]
push eax
call ebx
add esp, 8
test al, al
jne 0x10059d96
mov esi, dword [esp + 0x68]
lea eax, [esp + 0x88]
push eax
push esi
call ebx
add esp, 8
test al, al
jne 0x10059d96
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_static_bool___cdecl_QPlatformFontDatabase::isFamilyPopulated_class_QString_const__]
add esp, 4
test al, al
jne 0x10059d96
mov ecx, dword [esi + 8]
lea edx, [esp + 0x88]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.1005b040
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
push eax
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
push edi
push ebp
mov ebp, dword [sym.imp.Qt5Gui.dll_public:_static_void___cdecl_QPlatformFontDatabase::registerFont_class_QString_const___class_QString_const___class_QString_const___enum_QFont::Weight__enum_QFont::Style__enum_QFont::Stretch__bool__bool__int__bool__class_QSupportedWritingSystems_const___void__]
lea eax, [esp + 0x38]
push ebx
push 0
push 0x64
push dword [esp + 0x54]
push esi
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xb8]
push eax
call ebp
add esp, 0x34
cmp esi, 0x3f
jg 0x10059e44
lea ecx, [esp + 0x8c]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x10059e44
lea eax, [esp + 0x1c]
push eax
call fcn.1005b040
add esp, 4
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push esi
lea ecx, [esp + 0x14]
push ecx
push edi
push dword [esp + 0x34]
lea ecx, [esp + 0x34]
push ebx
push 0
push 0x64
push dword [esp + 0x50]
push 0x4b
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
call ebp
add esp, 0x30
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [esp + 0x2c]
mov al, byte [esp + 0x14]
test al, al
jne 0x10059eae
lea ecx, [esp + 0x8c]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x10059eaa
lea eax, [esp + 0x1c]
push eax
call fcn.1005b040
add esp, 4
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push esi
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push edi
push dword [esp + 0x34]
lea ecx, [esp + 0x34]
push ebx
push 0
push 0x64
push 1
push esi
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
call ebp
add esp, 0x30
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, byte [esp + 0x14]
cmp esi, 0x3f
jg 0x10059f12
test al, al
jne 0x10059f12
lea ecx, [esp + 0x8c]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x10059f12
lea eax, [esp + 0x1c]
push eax
call fcn.1005b040
add esp, 4
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push esi
lea ecx, [esp + 0x14]
push ecx
push edi
push dword [esp + 0x34]
lea ecx, [esp + 0x34]
push ebx
push 0
push 0x64
push 1
push 0x4b
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
call ebp
add esp, 0x30
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
mov esi, dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
test al, al
jne 0x10059f72
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x8c]
push eax
call esi
add esp, 8
test al, al
jne 0x10059f72
lea eax, [esp + 0x1c]
push eax
call fcn.1005b040
push eax
lea eax, [esp + 0x18]
push eax
push edi
push dword [esp + 0x38]
lea eax, [esp + 0x38]
push ebx
push 0
push 0x64
push dword [esp + 0x54]
push dword [esp + 0x50]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
call ebp
add esp, 0x34
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x10059fac
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x34]
push eax
call esi
add esp, 8
test al, al
jne 0x10059fac
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_static_void___cdecl_QPlatformFontDatabase::registerAliasToFontFamily_class_QString_const___class_QString_const__]
add esp, 8
lea ecx, [esp + 0x10]
mov bl, 1
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QSupportedWritingSystems::destructor_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x1005a016
xor bl, bl
lea ecx, [esp + 0x88]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x8c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x80]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d4904
add esp, 0x74
ret