Function at 0x418510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x28]
sub esp, 0x6c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
call fcn.0042c430
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x766c6f53
mov edx, dword [esi]
mov dword [esp + 0x10], str.SolveRegister_enter__with_instance_id_is__s
mov dword [esp + 0xc], 0x1e3
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x24], 0x67655265
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x20], 0x65747369
mov byte [ebp - 0x1c], 0x72
mov dword [ebp - 0x2c], 0xd
mov dword [esp + 8], edx
mov byte [ebp - 0x1b], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x41858a
mov dword [esp], eax
call fcn.004ed8c0
mov dword [esp + 4], str.vid_12d1
mov eax, dword [esi]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 0x4c], eax
call eax
sub esp, 8
test eax, eax
je 0x418810
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax + 0x74]
mov eax, dword [eax + 0x78]
cmp ebx, eax
mov dword [ebp - 0x50], eax
jne 0x4185d8
jmp 0x4185fd
add ebx, 0x18
cmp dword [ebp - 0x50], ebx
je 0x4185fd
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
call eax
sub esp, 8
test eax, eax
jne 0x4185d0
lea ecx, [ebp - 0x48]
mov dword [esp], ebx
call fcn.004cdfc0
sub esp, 4
call fcn.0042c430
lea ecx, [ebp - 0x30]
mov dword [esp + 0x10], str.Begin_delete_software_register
mov dword [esp + 0xc], 0x1f1
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x766c6f53
mov dword [ebp - 0x24], 0x67655265
mov dword [ebp - 0x20], 0x65747369
mov byte [ebp - 0x1c], 0x72
mov dword [ebp - 0x2c], 0xd
mov byte [ebp - 0x1b], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x41865f
mov dword [esp], eax
call fcn.004ed8c0
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x54]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00417b70
sub esp, 8
test eax, eax
jne 0x4186e2
call fcn.0042c430
lea edx, [ebp - 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.Delete_register_return:__d
mov dword [esp + 0xc], 0x1f4
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x766c6f53
mov dword [ebp - 0x24], 0x67655265
mov dword [ebp - 0x20], 0x65747369
mov byte [ebp - 0x1c], 0x72
mov dword [ebp - 0x2c], 0xd
mov byte [ebp - 0x1b], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x4186e2
mov dword [esp], eax
call fcn.004ed8c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x14], 0
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
call fcn.00416dc0
sub esp, 0x18
test eax, eax
mov ebx, eax
jne 0x418784
call fcn.0042c430
lea edx, [ebp - 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.Delete_device_return:__d
mov dword [esp + 0xc], 0x1f9
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x766c6f53
mov dword [ebp - 0x24], 0x67655265
mov dword [ebp - 0x20], 0x65747369
mov byte [ebp - 0x1c], 0x72
mov dword [ebp - 0x2c], 0xd
mov byte [ebp - 0x1b], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x418784
mov dword [esp], eax
call fcn.004ed8c0
call fcn.0042c430
lea edx, [ebp - 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.SolveRegister_leave_with__d
mov dword [esp + 0xc], 0x1fc
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x766c6f53
mov dword [ebp - 0x24], 0x67655265
mov dword [ebp - 0x20], 0x65747369
mov byte [ebp - 0x1c], 0x72
mov dword [ebp - 0x2c], 0xd
mov byte [ebp - 0x1b], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x4187ea
mov dword [esp], eax
call fcn.004ed8c0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
cmp eax, ecx
je 0x4187fc
mov dword [esp], eax
call fcn.004ed8c0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
call fcn.0042c430
lea edx, [ebp - 0x30]
mov dword [esp + 0x10], str.This_pid_is_not_huawei_pid
mov dword [esp + 0xc], 0x1e5
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x766c6f53
mov dword [ebp - 0x24], 0x67655265
mov dword [ebp - 0x20], 0x65747369
mov byte [ebp - 0x1c], 0x72
mov dword [ebp - 0x2c], 0xd
mov byte [ebp - 0x1b], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x418872
mov dword [esp], eax
call fcn.004ed8c0
mov ebx, 2
jmp 0x4187fc