Function at 0x4056c0
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 0x4060c0
cmp byte [ebx + 0x1c], 0
jne 0x4060a0
cmp byte [ebx + 0x24], 0
jne 0x406080
cmp byte [ebx + 0x26], 0
jne 0x406060
cmp byte [ebx + 0x28], 0
jne 0x406040
cmp byte [ebx + 0x2a], 0
jne 0x405ff0
cmp byte [ebx + 0x38], 0
jne 0x405fc0
cmp byte [ebx + 0x44], 0
jne 0x405fa0
cmp byte [ebx + 0x46], 0
jne 0x405f80
movzx eax, byte [ebx + 0x48]
test al, al
mov byte [ebp - 0x11c], al
jne 0x405cc0
cmp byte [ebx + 0x64], 0
jne 0x4059f0
cmp byte [ebx + 0x70], 0
je 0x405877
mov eax, dword [ebx + 0x74]
mov edi, dword [eax]
mov dword [ebp - 0xf8], eax
lea edx, [edi + 1]
cmp edx, 1
jbe 0x40576e
lock add dword [eax], 1
setne dl
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax + 4]
test edx, edx
jne 0x4057c3
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 0x406700
cmp ecx, 0xffffffff
je 0x4057c0
lock sub dword [edx], 1
setne al
test al, al
je 0x4066f1
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 0x4066e0
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 0x4065a0
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 0x406573
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 + 0x78], 0
jne 0x4064c3
cmp byte [ebx + 0x80], 0
jne 0x406410
cmp byte [ebx + 0x88], 0
jne 0x4063f0
cmp byte [ebx + 0x90], 0
jne 0x4063d4
cmp byte [ebx + 0x92], 0
jne 0x406390
cmp byte [ebx + 0xa0], 0
jne 0x406370
cmp byte [ebx + 0xa8], 0
jne 0x406350
cmp byte [ebx + 0xb0], 0
jne 0x406330
cmp byte [ebx + 0xbe], 0
jne 0x406313
cmp byte [ebx + 0xc4], 0
jne 0x406230
cmp byte [ebx + 0xcc], 0
jne 0x406210
cmp byte [ebx + 0xd4], 0
jne 0x4061f0
cmp byte [ebx + 0xdc], 0
jne 0x4061d0
cmp byte [ebx + 0xde], 0
jne 0x4061b3
cmp byte [ebx + 0xe0], 0
jne 0x406110
cmp byte [ebx + 0xb8], 0
jne 0x4060f0
cmp byte [ebx + 0xba], 0
jne 0x4059d0
cmp byte [ebx + 0xbc], 0
jne 0x4059b0
cmp byte [ebx + 0xe2], 0
jne 0x405990
cmp byte [ebx + 0xe4], 0
je 0x405982
movzx eax, byte [ebx + 0xe5]
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
movzx eax, byte [ebx + 0xe3]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmAcclOn_bool_]
sub esp, 4
jmp 0x405963
movzx eax, byte [ebx + 0xbd]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setUseWindowsDpiScale_bool_]
sub esp, 4
jmp 0x40595a
movzx eax, byte [ebx + 0xbb]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setUseLargeTaskbar_bool_]
sub esp, 4
jmp 0x405951
mov eax, dword [ebx + 0x68]
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 0x4068e1
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 0x406650
cmp edx, 0xffffffff
je 0x405a7c
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x406640
mov eax, dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [esp + 4], 2
mov dword [esp], 0x514107
mov dword [ebp - 0x11c], eax
call eax
mov dword [ebp - 0xf0], eax
lea eax, [ebx + 0x68]
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 0x406720
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 0x406a40
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0x104], eax
mov eax, dword [ebx + 0x6c]
mov edi, dword [eax]
mov dword [ebp - 0x100], eax
lea edx, [edi + 1]
cmp edx, 1
jbe 0x405b25
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 0x406803
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 0x406940
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 0x405c10
cmp edx, 0xffffffff
je 0x405c29
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405c29
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 0x4067e0
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 0x4067b3
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 0x405744
mov eax, dword [ebx + 0x50]
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 0x406903
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 0x406622
cmp edx, 0xffffffff
je 0x405d4e
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x40661c
mov eax, dword [ebx + 0x54]
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 0x4068f2
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 0x406754
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 + 0x58]
mov edx, dword [eax + 4]
test edx, edx
jne 0x405de5
mov eax, dword [ebx + 0x50]
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 0x4068d0
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 0x406790
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 + 0x5c]
mov edx, dword [eax + 4]
test edx, edx
jne 0x406780
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 0x406a91
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 0x406880
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + 4]
test esi, esi
jne 0x406743
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 0x406a80
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 0x406830
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setDeviceType_int_]
sub esp, 4
jmp 0x40573a
movzx eax, byte [ebx + 0x47]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setDiscordMode_bool_]
sub esp, 4
jmp 0x405728
movzx eax, byte [ebx + 0x45]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVSync_bool_]
sub esp, 4
jmp 0x40571e
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmFps_int_]
mov eax, dword [ebx + 0x40]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setHighFps_int_]
sub esp, 4
jmp 0x405714
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmResolutionWidth_int_]
mov eax, dword [ebx + 0x30]
sub esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmResolutionHeight_int_]
mov eax, dword [ebx + 0x34]
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 0x40570a
movzx eax, byte [ebx + 0x29]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmAstc_int_]
sub esp, 4
jmp 0x405700
movzx eax, byte [ebx + 0x27]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmGMemOpt_int_]
sub esp, 4
jmp 0x4056f6
movzx eax, byte [ebx + 0x25]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmSu_int_]
sub esp, 4
jmp 0x4056ec
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 0x4056e2
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 0x4056d8
movzx eax, byte [ebx + 0xb9]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setShowTabbar_bool_]
sub esp, 4
jmp 0x405944
movzx eax, byte [ebx + 0xe1]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
call dword [method.MemuInterface.getVmName__]
test eax, eax
mov esi, eax
je 0x406aa2
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 0x406674
cmp edx, 0xffffffff
je 0x40619b
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x40666e
cmp byte [ebx + 0xe1], 0
je 0x40669a
call dword [sym.imp.libmemuqt.dll_registerMEmuAutoRun__]
jmp 0x405937
movzx eax, byte [ebx + 0xdf]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmSyncTime_bool_]
sub esp, 4
jmp 0x40592a
movzx esi, byte [ebx + 0xdd]
call dword [method.MemuConfig.getInstance__]
mov ecx, eax
mov dword [esp], esi
call dword [method.MemuConfig.setGuestNotification_bool_]
sub esp, 4
jmp 0x40591d
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmVkey_int_]
sub esp, 4
jmp 0x405910
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setExitOption_int_]
sub esp, 4
jmp 0x405903
mov eax, dword [ebx + 0xc8]
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], 0x514168
mov edi, eax
call eax
mov dword [ebp - 0xf4], eax
mov dword [esp + 4], 0xa
mov dword [esp], 0x514172
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 0x4065d0
cmp edx, 0xffffffff
je 0x4062dd
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x4065c3
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
test edx, edx
jne 0x4065f9
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__]
jmp 0x4058f6
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmGuiLanguage_int_]
sub esp, 4
jmp 0x4058e9
mov eax, dword [ebx + 0xb4]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmGameCursor_int_]
sub esp, 4
jmp 0x4058dc
mov eax, dword [ebx + 0xac]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmWindowMode_int_]
sub esp, 4
jmp 0x4058cf
mov eax, dword [ebx + 0xa4]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmPhoneMode_int_]
sub esp, 4
jmp 0x4058c2
mov edx, dword [ebx + 0x94]
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 + 0x94]
sub esp, 4
test ecx, ecx
jne 0x4058b5
fld qword [ebx + 0x98]
mov ecx, dword [ebp + 8]
fstp qword [esp]
call dword [method.MemuInterface.setManualDiskSize_double_]
sub esp, 8
jmp 0x4058b5
movzx eax, byte [ebx + 0x91]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setVmUseHostCache_bool_]
sub esp, 4
jmp 0x4058a8
mov eax, dword [ebx + 0x8c]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call dword [method.MemuInterface.setCameraType_int_]
sub esp, 4
jmp 0x40589b
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 0x406914
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 0x4064a5
cmp edx, 0xffffffff
je 0x40588e
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40588e
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_]
jmp 0x40588e
mov eax, dword [ebx + 0x7c]
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 0x406925
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 0x406555
cmp edx, 0xffffffff
je 0x405881
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405881
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_]
jmp 0x405881
cmp edx, 0xffffffff
je 0x405877
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405877
mov eax, dword [ebp - 0xf8]
jmp 0x40585e
cmp edx, 0xffffffff
je 0x40584e
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40584e
mov eax, dword [ebp - 0xf0]
jmp 0x405835
mov eax, dword [ebp - 0xf8]
lea esi, [esi]
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 0x4062ed
cmp edx, 0xffffffff
je 0x406306
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x406306
mov eax, dword [ebp - 0xf4]
jmp 0x4062ed
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_]
jmp 0x405d4e
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 0x405a7c
mov eax, dword [ebp - 0xf0]
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 + 0xe1], 0
jne 0x4061a8
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.004f5500
cmp dword [ebp - 0x11c], edi
jne 0x405937
call dword [sym.imp.libmemuqt.dll_unregisterMEmuAutoRun__]
jmp 0x405937
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x4057ec
jmp 0x405814
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 0x4057ba
cmp ecx, 0xffffffff
je 0x405af7
lock sub dword [edx], 1
setne al
test al, al
jne 0x405af7
mov edx, dword [ebp - 0xf0]
jmp 0x405ade
mov byte [ebp - 0x11c], 0
mov eax, str.G9300ZCU2API3
jmp 0x405f48
cmp edx, 0xffffffff
je 0x405dd5
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405dd5
mov eax, dword [ebp - 0xf0]
jmp 0x405dbc
xor esi, esi
mov eax, 0x5140f4
jmp 0x405ece
cmp edx, 0xffffffff
je 0x405e66
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405e66
mov eax, dword [ebp - 0xf0]
jmp 0x405e4d
cmp edx, 0xffffffff
je 0x405744
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405744
mov eax, dword [ebp - 0x104]
jmp 0x405c99
cmp edx, 0xffffffff
je 0x405c89
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405c89
mov eax, dword [ebp - 0x100]
jmp 0x405c70
cmp ecx, 0xffffffff
je 0x405ba9
lock sub dword [edx], 1
setne al
test al, al
jne 0x405ba9
mov edx, dword [ebp - 0xf0]
jmp 0x405b90
mov eax, dword [ebp - 0x108]
mov edx, dword [eax]
test edx, edx
je 0x406860
cmp edx, 0xffffffff
je 0x405f64
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405f64
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 0x405f64
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax]
test edx, edx
je 0x4068b0
cmp edx, 0xffffffff
je 0x405ee7
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405ee7
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 0x405ee7
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405e04
jmp 0x405e2c
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405a1f
jmp 0x405a47
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405d73
jmp 0x405d9b
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405cf1
jmp 0x405d19
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x406442
jmp 0x40646a
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x4064f2
jmp 0x40651a
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 0x406a20
cmp ecx, 0xffffffff
je 0x4069a7
lock sub dword [edx], 1
setne al
test al, al
je 0x406a1a
cmp edi, 0xffffffff
je 0x406ab0
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 0x405c10
cmp edx, 0xffffffff
je 0x405c29
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405c29
mov eax, dword [ebp - 0xf8]
jmp 0x405c10
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 0x4069a7
call dword [method.StaticDBManager.getDbManager__]
mov edi, dword [ebp - 0x128]
lea edx, [ebx + 0x6c]
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 0x405744
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405f1e
jmp 0x405f46
mov edx, dword [eax + 0xc]
cmp edx, 0x10
jne 0x405e9d
jmp 0x405ec5
mov eax, 0xffffffff
jmp 0x406138
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 0x406ba0
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 0x406bc0
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 0x405c10
cmp edx, 0xffffffff
je 0x405c29
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405c29
mov eax, dword [ebp - 0xf4]
jmp 0x405c10
cmp ecx, 0xffffffff
je 0x406b2a
lock sub dword [edx], 1
setne cl
test cl, cl
jne 0x406b2a
mov edx, dword [ebp - 0xf0]
jmp 0x406b05
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 0x406ca0
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 0x405c29
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 0x405c10
cmp edx, 0xffffffff
je 0x405c29
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x405c29
mov eax, dword [ebp - 0xf0]
jmp 0x405c10
cmp ecx, 0xffffffff
je 0x406c30
lock sub dword [edx], 1
setne al
test al, al
jne 0x406c30
mov edx, dword [ebp - 0xf0]
jmp 0x406c17