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

Disassembly:
push 0xffffffffffffffff
push 0x4e4238
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
push 0xa
xor ebx, ebx
push ebx
push ecx
mov dword [esp + 0x2c], ebx
mov ecx, esp
mov dword [esp + 0x78], esp
push str.NotifyBattery
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov dword [esp + 0x74], ebx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x571ac0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov byte [esp + 0x74], 1
mov eax, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [eax]
push eax
mov ecx, 0x56e524
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x38]
or edi, 0xffffffff
push ecx
mov esi, eax
mov dword [esp + 0x78], edi
call fcn.004a13b0
mov ecx, eax
mov dword [esp + 0x6c], 2
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
test eax, eax
lea ecx, [esp + 0x28]
setle byte [esp + 0x6c]
mov dword [esp + 0x64], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x6c], bl
je 0x4819e9
mov ecx, dword [ebp + 0x170]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::stop_void_]
mov eax, dword [ebp + 0xf0]
lea esi, [esp + 0x18]
call fcn.00469cb0
mov dword [esp + 0x64], 3
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QList_class_QVariant____thiscall_QVariant::toList_void_]
mov edi, dword [sym.imp.QtGui4.dll_public:_class_QVariant___thiscall_QComboBox::itemData_int__int_]
cmp edx, dword [eax + 8]
je 0x4817a4
mov ecx, dword [ebp + 0x28]
push 0x20
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QComboBox::currentIndex_void_const]
mov ecx, dword [ebp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
call edi
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], 4
mov ecx, eax
mov dword [esp + 0x24], 1
call esi
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ebx, 3
mov byte [esp + 0x6c], 0
cmp edx, dword [eax + 8]
jne 0x4817a9
mov byte [esp + 0x6c], 1
test bl, 2
je 0x4817be
and ebx, 0xfffffffd
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], ebx
call fcn.004839a0
mov dword [esp + 0x64], 3
test bl, 1
mov ebx, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
je 0x4817d7
lea ecx, [esp + 0x34]
call ebx
cmp byte [esp + 0x6c], 0
je 0x4817f4
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0xffffffff
call fcn.00409830
jmp 0x481a17
mov ecx, dword [ebp + 0x28]
push 0x20
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QComboBox::currentIndex_void_const]
mov ecx, dword [ebp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
call edi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
mov byte [esp + 0x68], 5
call esi
mov esi, eax
mov byte [esp + 0x64], 6
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, 1
je 0x481833
mov eax, dword [esi]
mov edx, dword [eax + 4]
push esi
call fcn.00483860
mov esi, dword [esi]
mov ecx, dword [esi + 8]
lea esi, [esi + ecx*4 + 0x14]
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 8
call fcn.004839a0
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 9
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 1
je 0x48187e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 4]
call fcn.0045ce90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
lea eax, [eax + ecx*4 + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::addGuard_class_QObject___]
add esp, 4
mov byte [esp + 0x64], 0xa
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov edi, 1
cmp ecx, edi
jle 0x481967
mov edx, dword [eax]
cmp edx, 1
je 0x4818d3
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x18]
push eax
call fcn.0045ce90
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
add edx, edi
lea eax, [eax + edx*4 + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
lea esi, [esp + 0x30]
call fcn.004398e0
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x68], 0xb
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
mov ecx, esi
mov bl, al
mov byte [esp + 0x64], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x481954
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
cmp eax, 1
je 0x48192e
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
call fcn.0045ce90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
add ecx, edi
lea ecx, [eax + ecx*4 + 0x14]
mov ecx, dword [ecx]
lea edx, [esp + 0x1c]
cmp edx, ecx
je 0x481958
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__]
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc edi
cmp edi, edx
jl 0x4818bb
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp + 0x90]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QProgressBar::setValue_int_]
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::update_void_]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x68], 9
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::removeGuard_class_QObject___]
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481a17
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x481a17
mov ecx, dword [esp + 0x18]
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.00409870
mov eax, dword [esi]
test eax, eax
jne 0x481a17
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
jmp 0x481a17
mov ecx, dword [ebp + 0x90]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QProgressBar::value_void_const]
add eax, 0xa
cmp eax, 0x64
jle 0x481a02
mov eax, 0xa
mov ecx, dword [ebp + 0x90]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QProgressBar::setValue_int_]
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::update_void_]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4