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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x13c
cmp byte [ecx + 0x10], 0
jne 0x4065f0
cmp byte [ebx + 0x1c], 0
jne 0x4065d0
cmp byte [ebx + 0x24], 0
jne 0x4065b0
cmp byte [ebx + 0x26], 0
jne 0x406590
cmp byte [ebx + 0x28], 0
jne 0x406570
cmp byte [ebx + 0x2a], 0
jne 0x406550
cmp byte [ebx + 0x30], 0
jne 0x406500
cmp byte [ebx + 0x40], 0
jne 0x4064d0
cmp byte [ebx + 0x4c], 0
jne 0x4064b0
cmp byte [ebx + 0x4e], 0
jne 0x406490
movzx eax, byte [ebx + 0x50]
test al, al
mov byte [ebp - 0x11c], al
jne 0x4061d0
cmp byte [ebx + 0x6c], 0
jne 0x405f00
cmp byte [ebx + 0x78], 0
je 0x405891
mov eax, dword [ebx + 0x7c]
mov edi, dword [eax]
mov dword [ebp - 0xf8], eax
lea edx, [edi + 1]
cmp edx, 1
jbe 0x405788
lock add dword [eax], 1
setne dl
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax + 4]
test edx, edx
jne 0x4057dd
lea edi, [ebp - 0xf4]
mov dword [esp], edi
call dword [sym.imp.libmemuqt.dll_genWifiName__]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf4]
mov ecx, dword [edx]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
test ecx, ecx
je 0x4067a0
cmp ecx, 0xffffffff
je 0x4057da
lock sub dword [edx], 1
setne al
test al, al
je 0x406791
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
lea esi, [ebp - 0xf0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.toLocal8Bit_helper_QChar_const__int_]
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x406780
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setSsid_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x406643
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax]
test edx, edx
jne 0x406620
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp byte [ebx + 0x80], 0
jne 0x4059b1
cmp byte [ebx + 0x88], 0
jne 0x405a80
cmp byte [ebx + 0x90], 0
jne 0x405b40
cmp byte [ebx + 0x98], 0
jne 0x405b62
cmp byte [ebx + 0x9a], 0
jne 0x405b85
cmp byte [ebx + 0xa8], 0
jne 0x405ee4
cmp byte [ebx + 0xb0], 0
jne 0x405bd0
cmp byte [ebx + 0xb8], 0
jne 0x405bf2
cmp byte [ebx + 0xc6], 0
jne 0x405c14
cmp byte [ebx + 0xcc], 0
jne 0x405c36
cmp byte [ebx + 0xd4], 0
jne 0x405d21
cmp byte [ebx + 0xdc], 0
jne 0x405d43
cmp byte [ebx + 0xe4], 0
jne 0x405d65
cmp byte [ebx + 0xe6], 0
jne 0x405d8d
cmp byte [ebx + 0xe8], 0
jne 0x405db0
cmp byte [ebx + 0xc0], 0
jne 0x405e60
cmp byte [ebx + 0xc2], 0
jne 0x405e83
cmp byte [ebx + 0xc4], 0
jne 0x405ea6
cmp byte [ebx + 0xea], 0
jne 0x405ec9
cmp byte [ebx + 0xec], 0
je 0x4059a7
movzx eax, byte [ebx + 0xed]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmAppAutoStartup_bool_]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebx + 0x84]
lea esi, [ebp - 0xf0]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.toLocal8Bit_helper_QChar_const__int_]
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x4069c5
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setMicNameMd5_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x405a50
cmp edx, 0xffffffff
je 0x40589e
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40589e
mov eax, dword [ebp - 0xf0]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp byte [ebx + 0x88], 0
je 0x4058ab
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx + 0x8c]
lea esi, [ebp - 0xf0]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.toLocal8Bit_helper_QChar_const__int_]
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x4069a3
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setSpeakerNameMd5_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x405b15
cmp edx, 0xffffffff
je 0x4058ab
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x4058ab
mov eax, dword [ebp - 0xf0]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp byte [ebx + 0x90], 0
je 0x4058b8
nop
lea esi, [esi]
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setCameraType_int_]
sub esp, 4
cmp byte [ebx + 0x98], 0
je 0x4058c5
movzx eax, byte [ebx + 0x99]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmUseHostCache_bool_]
sub esp, 4
cmp byte [ebx + 0x9a], 0
je 0x4058d2
mov edx, dword [ebx + 0x9c]
xor eax, eax
mov ecx, dword [ebp + 8]
test edx, edx
setne al
mov dword [esp], eax
call dword [method.MemuInterface.setDiskCapacityAutoIncrease_bool_]
mov ecx, dword [ebx + 0x9c]
sub esp, 4
test ecx, ecx
jne 0x4058d2
fld qword [ebx + 0xa0]
mov ecx, dword [ebp + 8]
fstp qword [esp]
call dword [method.MemuInterface.setManualDiskSize_double_]
sub esp, 8
jmp 0x4058d2
mov eax, dword [ebx + 0xb4]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmWindowMode_int_]
sub esp, 4
cmp byte [ebx + 0xb8], 0
je 0x4058f9
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmGameCursor_int_]
sub esp, 4
cmp byte [ebx + 0xc6], 0
je 0x405906
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmGuiLanguage_int_]
sub esp, 4
cmp byte [ebx + 0xcc], 0
je 0x405913
mov eax, dword [ebx + 0xd0]
lea esi, [ebp - 0xf0]
mov ecx, esi
mov dword [esp], eax
call dword [method.QVariant.QVariant_int_]
mov eax, dword [method.QString.fromAscii_helper_char_const__int_]
sub esp, 4
mov dword [esp + 4], 9
mov dword [esp], 0x519168
mov edi, eax
call eax
mov dword [ebp - 0xf4], eax
mov dword [esp + 4], 0xa
mov dword [esp], 0x519172
call edi
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xf8]
lea edi, [ebp - 0xf4]
mov dword [ebp - 0x11c], eax
call dword [method.MemuConfig.getInstance__]
lea ecx, [ebp - 0xf8]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [ebp - 0x11c], ecx
mov dword [esp], ecx
mov ecx, eax
call dword [method.MemuConfig.saveMemuConfig_QString_const__QString_const__QVariant_const_]
mov eax, dword [ebp - 0xf8]
sub esp, 0xc
mov edx, dword [eax]
test edx, edx
je 0x406704
cmp edx, 0xffffffff
je 0x405ce3
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x4066fe
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
test edx, edx
jne 0x40672d
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov ecx, esi
call dword [method.QVariant.QVariant__]
cmp byte [ebx + 0xd4], 0
je 0x405920
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setExitOption_int_]
sub esp, 4
cmp byte [ebx + 0xdc], 0
je 0x40592d
mov eax, dword [ebx + 0xe0]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmVkey_int_]
sub esp, 4
cmp byte [ebx + 0xe4], 0
je 0x40593a
movzx esi, byte [ebx + 0xe5]
call dword [method.MemuConfig.getInstance__]
mov ecx, eax
mov dword [esp], esi
call dword [method.MemuConfig.setGuestNotification_bool_]
sub esp, 4
cmp byte [ebx + 0xe6], 0
je 0x405947
movzx eax, byte [ebx + 0xe7]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmSyncTime_bool_]
sub esp, 4
cmp byte [ebx + 0xe8], 0
je 0x405954
movzx eax, byte [ebx + 0xe9]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
call dword [method.MemuInterface.getVmName__]
test eax, eax
mov esi, eax
je 0x406b42
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [ebp - 0xf0]
call dword [method.QString.fromAscii_helper_char_const__int_]
mov edi, dword [method.MemuConfig.getInstance__]
mov dword [ebp - 0xf0], eax
call edi
mov esi, dword [ebp - 0x11c]
mov ecx, eax
mov dword [esp + 4], esi
lea esi, [ebp - 0xf0]
mov dword [esp], esi
call dword [method.MemuConfig.updateAutoRunVmList_QString_const__bool_]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax]
test edx, edx
je 0x406670
cmp edx, 0xffffffff
je 0x405e3b
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x406666
cmp byte [ebx + 0xe9], 0
je 0x406696
call dword [sym.imp.libmemuqt.dll_registerMEmuAutoRun__]
cmp byte [ebx + 0xc0], 0
je 0x405961
nop
lea esi, [esi]
movzx eax, byte [ebx + 0xc1]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setShowTabbar_bool_]
sub esp, 4
cmp byte [ebx + 0xc2], 0
je 0x40596e
movzx eax, byte [ebx + 0xc3]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setUseLargeTaskbar_bool_]
sub esp, 4
cmp byte [ebx + 0xc4], 0
je 0x40597b
movzx eax, byte [ebx + 0xc5]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setUseWindowsDpiScale_bool_]
sub esp, 4
cmp byte [ebx + 0xea], 0
je 0x405988
movzx eax, byte [ebx + 0xeb]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmAcclOn_bool_]
sub esp, 4
jmp 0x405988
mov eax, dword [ebx + 0xac]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmPhoneMode_int_]
sub esp, 4
jmp 0x4058df
mov eax, dword [ebx + 0x70]
lea esi, [ebp - 0xf0]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.toLocal8Bit_helper_QChar_const__int_]
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x406992
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setCountryCode_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x406760
cmp edx, 0xffffffff
je 0x405f8c
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x406750
mov eax, dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [esp + 4], 2
mov dword [esp], 0x519107
mov dword [ebp - 0x11c], eax
call eax
mov dword [ebp - 0xf0], eax
lea eax, [ebx + 0x70]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x128], eax
mov ecx, eax
mov eax, dword [method.QString.indexOf_QString_const__int__Qt::CaseSensitivity__const]
mov dword [ebp - 0x120], eax
call eax
mov edx, dword [ebp - 0xf0]
sub esp, 0xc
mov edi, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4067c0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp edi, 0xffffffff
je 0x406ae0
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0x104], eax
mov eax, dword [ebx + 0x74]
mov edi, dword [eax]
mov dword [ebp - 0x100], eax
lea edx, [edi + 1]
cmp edx, 1
jbe 0x406035
lock add dword [eax], 1
setne dl
lea eax, [ebp - 0x100]
mov dword [esp + 4], 0xa
mov dword [esp], str.Mobile_GSM
lea edi, [ebp - 0x104]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
call eax
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x100]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x124], eax
mov ecx, eax
call dword [ebp - 0x120]
mov edx, dword [ebp - 0xf0]
sub esp, 0xc
mov edi, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x406853
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp edi, 0xffffffff
je 0x4069e0
lea eax, [ebp - 0xfc]
mov dword [esp + 8], 0x10
mov dword [esp + 4], str.China_Mobile_GSM
lea edi, [ebp - 0x104]
mov dword [esp], eax
call dword [method.QString.fromUtf8_helper_char_const__int_]
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x104], edx
mov edx, dword [eax]
mov dword [ebp - 0xfc], eax
test edx, edx
je 0x406120
cmp edx, 0xffffffff
je 0x406139
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406139
mov eax, dword [ebp - 0xfc]
nop
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea edi, [ebp - 0x104]
call dword [method.StaticDBManager.getDbManager__]
mov ecx, dword [ebp - 0x128]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, esi
call dword [method.StaticDBManager.getInfoByISO_QString_const__QString_const_]
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [esp], esi
call dword [method.MemuInterface.setOperatorInfo_MEmuOperatorInfoData_const_]
mov eax, dword [ebp - 0x100]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x4068a3
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
test edx, edx
jne 0x406880
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x40575e
mov eax, dword [ebx + 0x58]
lea esi, [ebp - 0xf0]
mov edi, dword [method.QString.toLocal8Bit_helper_QChar_const__int_]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x406970
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmBrand_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x4066e0
cmp edx, 0xffffffff
je 0x40625e
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x4066d6
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x4069b4
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmModel_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x4067e3
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 4]
test edx, edx
jne 0x4062f5
mov eax, dword [ebx + 0x58]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 1
jbe 0x406981
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0xf0]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmBoard_char_const_]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x406830
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 4]
test edx, edx
jne 0x406821
mov dword [esp + 8], 0
add eax, dword [eax + 0xc]
lea esi, [ebp - 0x10c]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 1
jbe 0x406b20
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0x10c]
sub esp, 8
mov edx, dword [eax + 0xc]
movzx esi, byte [ebp - 0x11c]
add eax, edx
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call dword [method.MemuInterface.setVmHardware_char_const_]
mov eax, esi
sub esp, 4
test al, al
jne 0x406920
mov eax, dword [ebx + 0x68]
mov esi, dword [eax + 4]
test esi, esi
jne 0x406810
mov dword [esp + 8], 0
add eax, dword [eax + 0xc]
lea esi, [ebp - 0x108]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
mov eax, dword [ebp - 0x108]
cmp dword [eax], 1
jbe 0x406b31
movsx edx, byte [eax + 0xb]
mov ecx, esi
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0x108]
sub esp, 8
mov edx, dword [eax + 0xc]
add eax, edx
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call dword [method.MemuInterface.setVmGsm_char_const_]
sub esp, 4
cmp byte [ebp - 0x11c], 0
jne 0x4068d0
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setDeviceType_int_]
sub esp, 4
jmp 0x405754
movzx eax, byte [ebx + 0x4f]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setDiscordMode_bool_]
sub esp, 4
jmp 0x405742
movzx eax, byte [ebx + 0x4d]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVSync_bool_]
sub esp, 4
jmp 0x405738
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmFps_int_]
mov eax, dword [ebx + 0x48]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setHighFps_int_]
sub esp, 4
jmp 0x40572e
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmResolutionWidth_int_]
mov eax, dword [ebx + 0x38]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmResolutionHeight_int_]
mov eax, dword [ebx + 0x3c]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmDpi_int_]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], 1
call dword [method.MemuInterface.setVmIsCustomedResolution_bool_]
sub esp, 4
jmp 0x405724
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmAstcDecode_int_]
sub esp, 4
jmp 0x40571a
movzx eax, byte [ebx + 0x29]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmAstc_int_]
sub esp, 4
jmp 0x405710
movzx eax, byte [ebx + 0x27]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmGMemOpt_int_]
sub esp, 4
jmp 0x405706
movzx eax, byte [ebx + 0x25]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmSu_int_]
sub esp, 4
jmp 0x4056fc
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setGraRenderMode_int__bool_]
sub esp, 8
jmp 0x4056f2
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmCpuNum_int_]
mov eax, dword [ebx + 0x18]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmMemSize_int_]
sub esp, 4
jmp 0x4056e8
cmp edx, 0xffffffff
je 0x405891
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405891
mov eax, dword [ebp - 0xf8]
jmp 0x405878
cmp edx, 0xffffffff
je 0x405868
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405868
mov eax, dword [ebp - 0xf0]
jmp 0x40584f
mov eax, dword [ebp - 0xf0]
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp byte [ebx + 0xe9], 0
jne 0x405e48
call edi
mov ecx, esi
mov dword [esp], eax
call dword [method.MemuConfig.getAutoRunVmsList__]
mov eax, dword [ebp - 0xf0]
sub esp, 4
mov ecx, esi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x11c], edi
mov edi, dword [eax + 8]
call fcn.004fa5d0
cmp dword [ebp - 0x11c], edi
jne 0x405954
call dword [sym.imp.libmemuqt.dll_unregisterMEmuAutoRun__]
jmp 0x405954
mov eax, dword [ebp - 0xf0]
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x40625e
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
test edx, edx
je 0x405cf3
cmp edx, 0xffffffff
je 0x405d0c
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405d0c
mov eax, dword [ebp - 0xf4]
jmp 0x405cf3
mov eax, dword [ebp - 0xf0]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x405f8c
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405806
jmp 0x40582e
mov edx, dword [ebp - 0xf4]
mov esi, esi
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x4057d4
cmp ecx, 0xffffffff
je 0x406007
lock sub dword [edx], 1
setne al
test al, al
jne 0x406007
mov edx, dword [ebp - 0xf0]
jmp 0x405fee
cmp edx, 0xffffffff
je 0x4062e5
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x4062e5
mov eax, dword [ebp - 0xf0]
jmp 0x4062cc
mov byte [ebp - 0x11c], 0
mov eax, str.G9300ZCU2API3
jmp 0x406458
xor esi, esi
mov eax, 0x5190f4
jmp 0x4063de
cmp edx, 0xffffffff
je 0x406376
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406376
mov eax, dword [ebp - 0xf0]
jmp 0x40635d
cmp ecx, 0xffffffff
je 0x4060b9
lock sub dword [edx], 1
setne al
test al, al
jne 0x4060b9
mov edx, dword [ebp - 0xf0]
jmp 0x4060a0
cmp edx, 0xffffffff
je 0x40575e
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40575e
mov eax, dword [ebp - 0x104]
jmp 0x4061a9
cmp edx, 0xffffffff
je 0x406199
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406199
mov eax, dword [ebp - 0x100]
jmp 0x406180
mov eax, dword [ebp - 0x108]
mov edx, dword [eax]
test edx, edx
je 0x406900
cmp edx, 0xffffffff
je 0x406474
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406474
mov eax, dword [ebp - 0x108]
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x406474
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax]
test edx, edx
je 0x406950
cmp edx, 0xffffffff
je 0x4063f7
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x4063f7
mov eax, dword [ebp - 0x10c]
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x4063f7
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x406201
jmp 0x406229
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x406314
jmp 0x40633c
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405f2f
jmp 0x405f57
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405ab2
jmp 0x405ada
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x406283
jmp 0x4062ab
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x4059e3
jmp 0x405a0b
mov dword [esp + 4], 7
mov dword [esp], str.Telecom
lea edi, [ebp - 0x104]
mov eax, dword [ebp - 0x11c]
call eax
mov dword [ebp - 0xf0], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], esi
mov ecx, dword [ebp - 0x124]
call dword [ebp - 0x120]
mov edx, dword [ebp - 0xf0]
sub esp, 0xc
mov edi, eax
mov ecx, dword [edx]
test ecx, ecx
je 0x406ac0
cmp ecx, 0xffffffff
je 0x406a47
lock sub dword [edx], 1
setne al
test al, al
je 0x406aba
cmp edi, 0xffffffff
je 0x406b50
lea eax, [ebp - 0xf8]
mov dword [esp + 8], 0xd
mov dword [esp + 4], str.China_Telecom
lea edi, [ebp - 0x104]
mov dword [esp], eax
call dword [method.QString.fromUtf8_helper_char_const__int_]
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x104], edx
mov edx, dword [eax]
mov dword [ebp - 0xf8], eax
test edx, edx
je 0x406120
cmp edx, 0xffffffff
je 0x406139
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406139
mov eax, dword [ebp - 0xf8]
jmp 0x406120
mov edx, dword [ebp - 0xf0]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x406a47
call dword [method.StaticDBManager.getDbManager__]
mov edi, dword [ebp - 0x128]
lea edx, [ebx + 0x74]
mov dword [esp], eax
mov ecx, esi
mov dword [esp + 8], edx
mov dword [esp + 4], edi
call dword [method.StaticDBManager.getInfoByISO_QString_const__QString_const_]
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [esp], esi
call dword [method.MemuInterface.setOperatorInfo_MEmuOperatorInfoData_const_]
sub esp, 4
jmp 0x40575e
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x4063ad
jmp 0x4063d5
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x40642e
jmp 0x406456
mov eax, 0xffffffff
jmp 0x405dd8
mov dword [esp + 4], 8
mov dword [esp], str.Spacecom
lea edi, [ebp - 0x104]
mov eax, dword [ebp - 0x11c]
call eax
mov dword [ebp - 0xf0], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], esi
mov ecx, dword [ebp - 0x124]
call dword [ebp - 0x120]
mov edx, dword [ebp - 0xf0]
sub esp, 0xc
mov ecx, dword [edx]
test ecx, ecx
jne 0x406c40
mov dword [ebp - 0x12c], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x12c]
cmp eax, 0xffffffff
je 0x406c60
lea edi, [ebp - 0xf4]
mov dword [esp + 8], 0xe
mov dword [esp + 4], str.China_Spacecom
mov dword [esp], edi
lea edi, [ebp - 0x104]
call dword [method.QString.fromUtf8_helper_char_const__int_]
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x104], edx
mov edx, dword [eax]
mov dword [ebp - 0xf4], eax
test edx, edx
je 0x406120
cmp edx, 0xffffffff
je 0x406139
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406139
mov eax, dword [ebp - 0xf4]
jmp 0x406120
cmp ecx, 0xffffffff
je 0x406bca
lock sub dword [edx], 1
setne cl
test cl, cl
jne 0x406bca
mov edx, dword [ebp - 0xf0]
jmp 0x406ba5
mov dword [esp + 4], 6
mov dword [esp], str.Unicom
lea edi, [ebp - 0x104]
mov eax, dword [ebp - 0x11c]
call eax
mov dword [ebp - 0xf0], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], esi
mov ecx, dword [ebp - 0x124]
call dword [ebp - 0x120]
mov edx, dword [ebp - 0xf0]
sub esp, 0xc
mov edi, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x406d40
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
cmp edi, 0xffffffff
je 0x406139
mov dword [esp + 8], 0xc
mov dword [esp + 4], str.China_Unicom
lea edi, [ebp - 0x104]
mov dword [esp], esi
call dword [method.QString.fromUtf8_helper_char_const__int_]
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x104], edx
mov edx, dword [eax]
mov dword [ebp - 0xf0], eax
test edx, edx
je 0x406120
cmp edx, 0xffffffff
je 0x406139
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406139
mov eax, dword [ebp - 0xf0]
jmp 0x406120
cmp ecx, 0xffffffff
je 0x406cd0
lock sub dword [edx], 1
setne al
test al, al
jne 0x406cd0
mov edx, dword [ebp - 0xf0]
jmp 0x406cb7