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

Disassembly:
push 0xffffffffffffffff
push 0x4dff01
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0xf0]
lea esi, [esp + 0x14]
call fcn.00469cb0
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QList_class_QVariant____thiscall_QVariant::toList_void_]
cmp ecx, dword [eax + 8]
je 0x4811e5
mov ecx, dword [edi + 0x28]
push 0x20
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QComboBox::currentIndex_void_const]
mov ecx, dword [edi + 0x28]
push eax
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.QtGui4.dll_public:_class_QVariant___thiscall_QComboBox::itemData_int__int_]
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x7c], 1
mov ecx, eax
mov dword [esp + 0x20], 1
call ebp
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ebx, 3
mov byte [esp + 0x11], 0
cmp edx, dword [eax + 8]
jne 0x4811ea
mov byte [esp + 0x11], 1
test bl, 2
je 0x481234
mov eax, dword [esp + 0x24]
and ebx, 0xfffffffd
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x481234
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x481234
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
lea eax, [ecx + edx*4 + 0x14]
mov edx, dword [ecx + 8]
lea ebx, [ecx + edx*4 + 0x14]
mov esi, ecx
call fcn.00483970
mov eax, dword [esi]
test eax, eax
jne 0x481230
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], 0
test bl, 1
je 0x48124b
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
cmp byte [esp + 0x11], 0
je 0x481283
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48165d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x48165d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
lea eax, [ecx + edx*4 + 0x14]
jmp 0x48163f
mov ecx, dword [edi + 0x28]
push 0x20
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QComboBox::currentIndex_void_const]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [edi + 0x28]
call dword [sym.imp.QtGui4.dll_public:_class_QVariant___thiscall_QComboBox::itemData_int__int_]
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x7c], 2
call ebp
mov esi, eax
mov byte [esp + 0x78], 3
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x4812c6
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call fcn.00483860
mov esi, dword [esi]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x20]
lea eax, [esi + edx*4 + 0x14]
push ecx
mov ecx, dword [eax]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48131b
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x48131b
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
lea eax, [ecx + eax*4 + 0x14]
lea ebx, [ecx + edx*4 + 0x14]
mov esi, ecx
call fcn.00483970
mov eax, dword [esi]
test eax, eax
jne 0x48131b
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
cmp edx, 1
je 0x481346
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x14]
push eax
call fcn.0045ce90
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
lea eax, [eax + edx*4 + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::addGuard_class_QObject___]
add esp, 4
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
mov ebp, 1
cmp edx, ebp
jle 0x48142f
mov eax, dword [eax]
cmp eax, 1
je 0x48139b
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
call fcn.0045ce90
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
add ecx, ebp
lea eax, [eax + ecx*4 + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
lea esi, [esp + 0x2c]
call fcn.004398e0
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0x7c], 8
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
mov ecx, esi
mov bl, al
mov byte [esp + 0x78], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
test bl, bl
je 0x481420
mov ecx, dword [eax]
cmp ecx, 1
je 0x4813f6
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
mov edx, dword [eax + 4]
call fcn.0045ce90
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
add ecx, ebp
lea ecx, [eax + ecx*4 + 0x14]
mov ecx, dword [ecx]
lea edx, [esp + 0x18]
cmp edx, ecx
je 0x481420
mov eax, dword [ecx]
push eax
mov ecx, edx
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::changeGuard_class_QObject____class_QObject__]
mov eax, dword [esp + 0x1c]
add esp, 8
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ebp
cmp ebp, edx
jl 0x481383
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x58], 0
je 0x4815d5
push str.phoneSelector.batteryIcon
lea ecx, [esp + 0x40]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x7c], 9
mov ecx, dword [edi + 0x94]
push str.themeRole
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::setProperty_char_const___class_QVariant_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov edx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [edx]
push eax
mov ecx, 0x56e524
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
call dword [sym.imp.QtGui4.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_]
mov ecx, dword [edi + 0x94]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push ecx
mov ecx, eax
call edx
mov ecx, dword [edi + 0x88]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::show_void_]
mov ecx, dword [edi + 0x90]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::show_void_]
mov ecx, dword [edi + 0x94]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::show_void_]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x44], 1
mov ecx, dword [edi + 0x170]
jne 0x481595
test ecx, ecx
je 0x4814e2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::stop_void_]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x40]
mov ecx, dword [edi + 0x90]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QProgressBar::setValue_int_]
mov byte [esp + 0x2c], 0x20
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x16]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, str.Argument_1_is_a_percentage_number.
mov ecx, str.Battery_level__1_
lea esi, [esp + 0x34]
call fcn.00474290
lea edx, [esp + 0x12]
push edx
mov bl, 0xb
mov byte [esp + 0x7c], bl
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x40]
push 0xa
push 0
push ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_unsigned_int__int__int__class_QChar_const__]
mov byte [esp + 0x78], 0xc
mov ecx, dword [edi + 0x90]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setToolTip_class_QString_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov byte [esp + 0x78], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x7c], 6
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::removeGuard_class_QObject___]
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x481252
test ecx, ecx
je 0x4815a4
push 0x1f4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::start_int_]
xor eax, eax
mov ecx, str.Charging
lea esi, [esp + 0x38]
call fcn.00474290
mov byte [esp + 0x78], 0xa
mov ecx, dword [edi + 0x90]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setToolTip_class_QString_const__]
mov ecx, esi
mov byte [esp + 0x78], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x4815f9
mov ecx, dword [edi + 0x88]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::hide_void_]
mov ecx, dword [edi + 0x90]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::hide_void_]
mov ecx, dword [edi + 0x94]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::hide_void_]
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x7c], 6
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::removeGuard_class_QObject___]
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48165d
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x48165d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
lea eax, [ecx + eax*4 + 0x14]
mov edx, dword [ecx + 8]
lea ebx, [ecx + edx*4 + 0x14]
mov esi, ecx
call fcn.00409870
mov eax, dword [esi]
test eax, eax
jne 0x48165d
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret