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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ad1f2
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x62d12c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x62d12c]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x84], eax
call fcn.00406990
cmp eax, edi
je 0x407fd7
push eax
push str._DeviceIPControlChannel::get_device_properties__validateConnection_failed._Error:_0x_X
push 1
call fcn.005304d0
add esp, 0xc
mov eax, 8
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 4
push 0x48
mov dword [esp + 0x60], edi
call fcn.00559a21
add esp, 4
cmp eax, edi
je 0x409360
mov dword [esp + 0x58], eax
mov dword [eax], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x58]
mov al, 1
mov byte [ecx + 0x44], al
mov edx, dword [esp + 0x58]
mov byte [edx + 0x45], al
sub esp, 0x10
mov dword [esp + 0x130], edi
mov dword [esp + 0x98], esp
mov eax, esp
lea ecx, [esp + 0x64]
push ecx
push eax
call fcn.00414e30
push str.dynamicProperties.cgi
mov ecx, 2
lea edx, [esp + 0xec]
call fcn.00423fc0
add esp, 0x14
mov dword [esp + 0x20], edi
push str._DeviceIPControlChannel::get_device_properties__Sending_DynamicProperties_command_to_device.
push 4
mov byte [esp + 0x128], 2
call fcn.005304d0
mov eax, dword [esp + 0xe0]
add esp, 8
cmp dword [esp + 0xec], 8
jae 0x40807b
lea eax, [esp + 0xd8]
push eax
lea ebx, [esp + 0x24]
mov ecx, esi
call fcn.0040d570
test al, al
jne 0x408124
push str._DeviceIPControlChannel::get_device_properties__sendWebRequest_failed_for_DynamicProperties_command.
push 1
call fcn.005304d0
mov byte [esp + 0x128], 1
mov ecx, dword [esp + 0x28]
add esp, 8
test ecx, ecx
je 0x4080b5
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0xec], 8
jb 0x4080cf
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00558723
add esp, 4
xor edx, edx
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], dx
mov dword [esp + 0x120], 3
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x88]
lea esi, [esp + 0x5c]
call fcn.00414ef0
mov eax, dword [esp + 0x58]
push eax
call fcn.00558723
add esp, 4
jmp 0x407fac
mov esi, 7
xor edi, edi
xor ecx, ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], cx
mov byte [esp + 0x120], 4
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0xbc]
push eax
push 0x636eb4
mov ecx, ebx
call edx
cmp al, 1
jne 0x40929e
cmp dword [0x62fe30], 8
mov eax, dword [0x62fe1c]
jae 0x408180
mov eax, 0x62fe1c
mov ecx, dword [0x62fe2c]
mov edx, dword [esp + 0xcc]
push ecx
push eax
push edx
push edi
lea ecx, [esp + 0xcc]
call fcn.0041c5b0
test eax, eax
jne 0x4082a8
mov dword [esp + 0x34], edi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], ax
lea ecx, [esp + 0xa0]
push ecx
push ecx
mov byte [esp + 0x128], 5
mov eax, esp
mov dword [eax], ebx
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
lea edi, [esp + 0x3c]
mov esi, 0x636e98
mov dword [esp + 0x88], esp
call eax
mov edx, edi
mov ecx, esi
call fcn.00424210
add esp, 8
test al, al
jne 0x408227
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x408215
lea eax, [esp + 0xbc]
push eax
push str._DeviceIPControlChannel::get_device_properties__Unable_to_extract_DynamicProperties_error_information
push 1
call fcn.005304d0
add esp, 0xc
jmp 0x408254
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
jae 0x40823f
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push str._DeviceIPControlChannel::get_device_properties__Device_DynamicProperties_error_returned.__Error:__d_Message:__S
push 1
call fcn.005304d0
add esp, 0x10
lea ecx, [esp + 0xa0]
call fcn.004222c0
lea ecx, [esp + 0xbc]
call fcn.004222c0
mov byte [esp + 0x120], 1
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
lea ecx, [esp + 0xd8]
call fcn.004222c0
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x124], 0xffffffff
call fcn.00405e70
mov eax, 0x17
jmp 0x407fb1
cmp dword [0x62fe14], 8
mov eax, dword [0x62fe00]
jae 0x4082bb
mov eax, 0x62fe00
mov edx, dword [0x62fe10]
push edx
push eax
mov eax, dword [esp + 0xd4]
push eax
push edi
lea ecx, [esp + 0xcc]
call fcn.0041c5b0
test eax, eax
jne 0x40922e
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
xor ecx, ecx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edi
mov word [esp + 0xa0], cx
mov dword [esp + 0x84], edi
push 0x44
mov byte [esp + 0x124], 8
call fcn.00559a21
add esp, 4
cmp eax, edi
je 0x40832e
mov esi, eax
call fcn.00409390
mov dword [esp + 0x18], eax
jmp 0x408332
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], edi
push 0x98
mov byte [esp + 0x124], 9
call fcn.00559a21
add esp, 4
cmp eax, edi
je 0x40836c
mov esi, eax
call fcn.00401550
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x408372
mov dword [esp + 0x30], edi
mov esi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
push ecx
push 0x63711c
mov ecx, ebx
mov dword [esp + 0x94], esi
call edx
cmp al, 1
jne 0x40839f
mov eax, dword [esp + 0x14]
mov dword [esi + 0x28], eax
mov byte [esi + 0x24], 1
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0xa0]
push eax
push 0x637138
mov ecx, ebx
call edx
cmp al, 1
jne 0x4083cc
mov edi, dword [esp + 0x30]
add edi, 0x74
lea ecx, [esp + 0xa0]
call fcn.00410040
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0xa0]
push ecx
push 0x637154
mov ecx, ebx
call edx
cmp al, 1
jne 0x4083f9
mov edi, dword [esp + 0x30]
add edi, 0x50
lea ecx, [esp + 0xa0]
call fcn.00410040
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0xa0]
push ecx
push 0x637170
mov ecx, ebx
call edx
cmp al, 1
jne 0x408426
mov edi, dword [esp + 0x30]
add edi, 0x2c
lea ecx, [esp + 0xa0]
call fcn.00410040
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
add esi, 0x20
call fcn.00411230
mov dword [esp + 0x98], 0
push 0x120
mov byte [esp + 0x124], 0xa
call fcn.00559a21
add esp, 4
test eax, eax
je 0x408469
mov esi, eax
call fcn.00401770
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x408475
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x98], edi
call edx
mov dword [edi + 0x38], eax
mov byte [edi + 0x34], 1
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
je 0x4084ec
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
push eax
lea ecx, [esp + 0xf8]
call fcn.00422b70
mov edi, dword [esp + 0x24]
add edi, 0x8c
lea ecx, [esp + 0xf4]
mov byte [esp + 0x120], 0xb
call fcn.00410040
lea ecx, [esp + 0xf4]
mov byte [esp + 0x120], 0xa
call fcn.004222c0
mov edi, dword [esp + 0x24]
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x14]
push edx
call eax
test eax, eax
jne 0x40850a
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x44], ecx
mov byte [edi + 0x40], 1
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x14]
push eax
call edx
test eax, eax
jne 0x408528
mov eax, dword [esp + 0x14]
mov dword [edi + 0x50], eax
mov byte [edi + 0x4c], 1
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x14]
push eax
call edx
test eax, eax
jne 0x408546
mov eax, dword [esp + 0x14]
mov dword [edi + 0x5c], eax
mov byte [edi + 0x58], 1
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
mov byte [edi + 0x89], al
mov byte [edi + 0x88], 1
mov ecx, dword [esi + 0x70]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
lea eax, [esp + 0x44]
push eax
push str.flashsize
call edx
test eax, eax
jne 0x408591
mov eax, dword [esp + 0x44]
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x24], 1
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x3c]
push eax
push str.colordepth
call edx
test eax, eax
jne 0x4085b4
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x68], eax
mov byte [edi + 0x64], 1
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x3c]
push eax
push str.screenwidth
call edx
test eax, eax
jne 0x4085da
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x80], eax
mov byte [edi + 0x7c], 1
mov esi, dword [esi + 0x70]
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x3c]
push eax
push str.screenheight
mov ecx, esi
call edx
test eax, eax
jne 0x4085ff
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x74], eax
mov byte [edi + 0x70], 1
cmp dword [0x637210], 8
mov eax, dword [0x6371fc]
jae 0x408612
mov eax, 0x6371fc
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x40863e
mov edi, dword [esp + 0x24]
add edi, 0xd4
lea ecx, [esp + 0xa0]
call fcn.00410040
cmp dword [0x637088], 8
mov eax, dword [0x637074]
jae 0x408651
mov eax, 0x637074
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x40867d
mov edi, dword [esp + 0x24]
add edi, 0xb0
lea ecx, [esp + 0xa0]
call fcn.00410040
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
add esi, 0x28
call fcn.00411310
push ecx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
mov dword [esp + 0x20], esp
call edx
lea eax, [esp + 0x2c]
push eax
call fcn.00409990
mov esi, dword [esp + 0x18]
add esi, 0x2c
mov edi, eax
mov byte [esp + 0x120], 0xc
call fcn.00411390
mov byte [esp + 0x120], 0xa
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4086d6
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push ecx
mov eax, esp
mov dword [eax], ebx
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
mov dword [esp + 0x20], esp
call eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040a200
mov esi, dword [esp + 0x18]
add esi, 0x40
mov edi, eax
mov byte [esp + 0x120], 0xd
call fcn.00411390
mov byte [esp + 0x120], 0xa
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x40871f
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
xor esi, esi
mov dword [esp + 0x94], esi
push 0x68
mov byte [esp + 0x124], 0xe
call fcn.00559a21
add esp, 4
cmp eax, esi
je 0x40874d
mov esi, eax
call fcn.004093d0
mov edi, eax
mov dword [esp + 0x34], edi
jmp 0x408753
mov dword [esp + 0x34], esi
mov edi, esi
mov edx, dword [ebx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x44]
push eax
push 0x63703c
mov ecx, ebx
mov dword [esp + 0x9c], edi
call edx
cmp al, 1
jne 0x408783
mov eax, dword [esp + 0x44]
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x24], 1
mov edx, dword [ebx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x14]
push eax
push 0x637020
mov ecx, ebx
call edx
cmp al, 1
jne 0x4087a9
cmp dword [esp + 0x14], 0
mov byte [edi + 0x34], 1
setne al
mov byte [edi + 0x35], al
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x14]
push ecx
push 0x637004
mov ecx, ebx
call edx
cmp al, 1
jne 0x4087cb
mov eax, dword [esp + 0x14]
mov dword [edi + 0x40], eax
mov byte [edi + 0x3c], 1
mov edx, dword [ebx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x44]
push eax
push 0x636fe8
mov ecx, ebx
call edx
cmp al, 1
jne 0x4087f4
mov eax, dword [esp + 0x44]
mov dword [edi + 0x50], eax
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x54], ecx
mov byte [edi + 0x4c], 1
mov edx, dword [ebx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x14]
push eax
push 0x636fe8
mov ecx, ebx
call edx
cmp al, 1
jne 0x408816
mov eax, dword [esp + 0x14]
mov dword [edi + 0x60], eax
mov byte [edi + 0x5c], 1
mov esi, dword [esp + 0x18]
add esi, 0x24
call fcn.004112a0
mov dword [esp + 0x90], 0
push 0x24
mov byte [esp + 0x124], 0xf
call fcn.00559a21
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x120], 0x10
test eax, eax
je 0x40885d
push eax
call fcn.00402110
mov edi, eax
mov dword [esp + 0x74], edi
jmp 0x408869
mov dword [esp + 0x74], 0
mov edi, dword [esp + 0x74]
mov byte [esp + 0x120], 0xf
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0xa0], edi
call fcn.004164e0
cmp dword [0x6370f8], 8
mov eax, dword [0x6370e4]
jae 0x4088a4
mov eax, 0x6370e4
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
lea ecx, [esp + 0x64]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x40892d
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
sub ecx, eax
sar ecx, 2
xor esi, esi
test ecx, ecx
je 0x40892d
lea ebx, [ebx]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
push eax
lea ebx, [esp + 0x14]
call fcn.00425e40
add esp, 4
mov byte [esp + 0x120], 0x11
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x408908
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov eax, ebx
push eax
call edx
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x120], 0xf
test ecx, ecx
je 0x40891b
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
sub ecx, eax
inc esi
sar ecx, 2
cmp esi, ecx
jb 0x4088d0
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x30], edi
je 0x408954
test edi, edi
je 0x408943
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x408951
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x30], edi
xor edi, edi
mov dword [esp + 0x9c], edi
push 0x30
mov byte [esp + 0x124], 0x12
call fcn.00559a21
add esp, 4
cmp eax, edi
je 0x408986
mov esi, eax
call fcn.00409420
mov esi, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x28], eax
jmp 0x40898c
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x40], edi
mov byte [esp + 0x120], 0x13
cmp dword [0x6371d8], 8
mov eax, dword [0x6371c4]
jae 0x4089b2
mov eax, 0x6371c4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
push eax
call edx
cmp al, 1
jne 0x408b36
mov dword [esp + 0x2c], edi
push 0x6c
mov byte [esp + 0x124], 0x14
call fcn.00559a21
add esp, 4
cmp eax, edi
je 0x4089f4
mov esi, eax
call fcn.00401f30
mov esi, eax
jmp 0x4089f6
xor esi, esi
cmp dword [0x6303e0], 8
mov eax, dword [0x6303cc]
mov dword [esp + 0x2c], esi
jae 0x408a0d
mov eax, 0x6303cc
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
lea edi, [esp + 0xa0]
push edi
push eax
mov eax, dword [edx + 0x50]
call eax
test al, al
jne 0x408a36
push str._DeviceIPControlChannel::get_device_properties__personal_perimeter_no_bbid_found
push 1
call fcn.005304d0
add esp, 8
jmp 0x408a45
lea edi, [esi + 0x24]
lea ecx, [esp + 0xa0]
call fcn.00410040
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0xa0]
push eax
push 0x6303e8
xor edi, edi
call edx
test al, al
jne 0x408a74
push str._DeviceIPControlChannel::get_device_properties__personal_perimeter_no_ecoid_found
push 1
call fcn.005304d0
add esp, 8
jmp 0x408a85
lea edi, [esi + 0x48]
lea ecx, [esp + 0xa0]
call fcn.00410040
xor edi, edi
mov dword [esp + 0x10], esi
cmp esi, edi
je 0x408a96
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x120], 0x15
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call edx
mov byte [esp + 0x120], 0x14
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x408ac3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov byte [esp + 0x120], 0x13
cmp esi, edi
je 0x408ad8
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x38], ebx
je 0x408aff
cmp ebx, edi
je 0x408aee
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
mov ecx, dword [esi + 0x38]
cmp ecx, edi
je 0x408afc
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esi + 0x38], ebx
mov dword [esp + 0x88], edi
push 0x70
mov byte [esp + 0x124], 0x16
call fcn.00559a21
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x120], 0x17
cmp eax, edi
je 0x408b47
push eax
call fcn.00402510
mov esi, eax
mov dword [esp + 0x10], eax
jmp 0x408b4d
push str._DeviceIPControlChannel::get_device_properties__No_personal_perimeter_found.
push 1
call fcn.005304d0
add esp, 8
jmp 0x408adc
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x7c], edi
mov byte [esp + 0x120], 0x18
cmp dword [0x630108], 8
mov eax, dword [0x6300f4]
jae 0x408b73
mov eax, 0x6300f4
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x7c]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408bc7
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
push eax
lea ecx, [esp + 0xf8]
call fcn.00422b70
lea edi, [esi + 0x4c]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x120], 0x19
call fcn.00410040
lea ecx, [esp + 0xf4]
call fcn.004222c0
xor edi, edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x120], 0x1a
cmp dword [0x637248], 8
mov eax, dword [0x637234]
jae 0x408be6
mov eax, 0x637234
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x38]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408d32
mov dword [esp + 0x2c], edi
push 0xd4
mov byte [esp + 0x124], 0x1b
call fcn.00559a21
add esp, 4
cmp eax, edi
je 0x408c25
mov esi, eax
call fcn.00409450
mov ebx, eax
jmp 0x408c27
xor ebx, ebx
cmp dword [0x63046c], 8
mov eax, dword [0x630458]
mov dword [esp + 0x2c], ebx
jae 0x408c3e
mov eax, 0x630458
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
lea esi, [esp + 0xa0]
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
cmp al, 1
jne 0x408c62
lea edi, [ebx + 0x68]
mov ecx, esi
call fcn.00410040
jmp 0x408c71
push str._DeviceIPControlChannel::get_device_properties__NetworkStatus_current_npc_not_found
push 1
call fcn.005304d0
add esp, 8
mov eax, dword [0x630474]
mov esi, 8
cmp dword [0x630488], esi
jae 0x408c88
mov eax, 0x630474
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
lea edi, [esp + 0xa0]
push edi
push eax
mov eax, dword [edx + 0x50]
call eax
cmp al, 1
jne 0x408cb4
lea edi, [ebx + 0x8c]
lea ecx, [esp + 0xa0]
call fcn.00410040
jmp 0x408cc3
push str._DeviceIPControlChannel::get_device_properties__NetworkStatus_Cellid_not_found
push 1
call fcn.005304d0
add esp, 8
mov eax, dword [0x630490]
cmp dword [0x6304a4], esi
jae 0x408cd5
mov eax, 0x630490
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
lea esi, [esp + 0xa0]
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
cmp al, 1
jne 0x408cfc
lea edi, [ebx + 0xb0]
mov ecx, esi
call fcn.00410040
jmp 0x408d0b
push str._DeviceIPControlChannel::get_device_properties__NetworkStatus_SimIccid_not_found
push 1
call fcn.005304d0
add esp, 8
mov esi, dword [esp + 0x10]
add esi, 0x24
lea edi, [esp + 0x2c]
call fcn.00410c10
mov byte [esp + 0x120], 0x1a
test ebx, ebx
je 0x408d41
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
jmp 0x408d41
push str._DeviceIPControlChannel::get_device_properties__Network_status_element_not_found
push 1
call fcn.005304d0
add esp, 8
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004164e0
cmp dword [0x63729c], 8
mov eax, dword [0x637288]
jae 0x408d6d
mov eax, 0x637288
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
lea esi, [esp + 0x64]
push esi
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp al, 1
jne 0x408fba
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x408fc9
mov ebx, dword [eax]
xor esi, esi
mov dword [esp + 0x78], ebx
cmp ebx, esi
je 0x408db0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esp + 0x1c], esi
push 0xd4
mov byte [esp + 0x124], 0x1d
call fcn.00559a21
add esp, 4
cmp eax, esi
je 0x408dd6
mov esi, eax
call fcn.00409500
mov esi, eax
cmp dword [0x630514], 8
mov eax, dword [0x630500]
mov dword [esp + 0x1c], esi
jae 0x408ded
mov eax, 0x630500
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408e14
lea edi, [esi + 0x20]
lea ecx, [esp + 0xa0]
call fcn.00410040
jmp 0x408e23
push str._DeviceIPControlChannel::get_device_properties__Sim_card_iccid_not_found
push 1
call fcn.005304d0
add esp, 8
cmp dword [0x630530], 8
mov eax, dword [0x63051c]
jae 0x408e36
mov eax, 0x63051c
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408e5d
lea edi, [esi + 0x44]
lea ecx, [esp + 0xa0]
call fcn.00410040
jmp 0x408e6c
push str._DeviceIPControlChannel::get_device_properties__Sim_card_efgid1_not_found
push 1
call fcn.005304d0
add esp, 8
cmp dword [0x63054c], 8
mov eax, dword [0x630538]
jae 0x408e7f
mov eax, 0x630538
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408ea6
lea edi, [esi + 0x68]
lea ecx, [esp + 0xa0]
call fcn.00410040
jmp 0x408eb5
push str._DeviceIPControlChannel::get_device_properties__Sim_card_imsi_not_found
push 1
call fcn.005304d0
add esp, 8
cmp dword [0x630568], 8
mov eax, dword [0x630554]
jae 0x408ec8
mov eax, 0x630554
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408ef2
lea edi, [esi + 0xb0]
lea ecx, [esp + 0xa0]
call fcn.00410040
jmp 0x408f01
push str._DeviceIPControlChannel::get_device_properties__Sim_card_Msisdn_not_found
push 1
call fcn.005304d0
add esp, 8
cmp dword [0x6304f8], 8
mov eax, dword [0x6304e4]
jae 0x408f14
mov eax, 0x6304e4
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, ebx
call edx
cmp al, 1
jne 0x408f3e
lea edi, [esi + 0x8c]
lea ecx, [esp + 0xa0]
call fcn.00410040
jmp 0x408f4d
push str._DeviceIPControlChannel::get_device_properties__Sim_card_Msisdn_not_found
push 1
call fcn.005304d0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x20]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x408f65
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0x120], 0x1e
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call edx
mov byte [esp + 0x120], 0x1d
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x408f92
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov byte [esp + 0x120], 0x1c
test esi, esi
je 0x408fa7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov byte [esp + 0x120], 0x1a
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
jmp 0x408fc9
push str._DeviceIPControlChannel::get_device_properties__Network_status_element_not_found
push 1
call fcn.005304d0
add esp, 8
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x34], esi
je 0x408ff4
test esi, esi
je 0x408fe3
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x408ff1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [edi + 0x34], esi
mov esi, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x7c], esp
call edx
lea eax, [esp + 0x20]
push eax
call fcn.0040a530
mov ebx, eax
mov byte [esp + 0x120], 0x1f
mov ecx, dword [ebx]
cmp dword [edi + 0x3c], ecx
je 0x409043
test ecx, ecx
je 0x409030
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x40903e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebx]
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x120], 0x1a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40905a
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x80]
mov dword [ecx], edi
mov byte [esp + 0x120], 0x18
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x409085
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x120], 0x16
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x40909c
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x120], 0x13
cmp dword [esp + 0x10], 0
je 0x4090b6
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x120], 0x12
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4090cd
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x120], 0xf
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4090e4
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x120], 0xe
test ecx, ecx
je 0x4090fb
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x120], 0xa
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x409112
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x120], 9
test ecx, ecx
je 0x409129
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x120], 8
test ecx, ecx
je 0x409140
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0xb4], 8
jb 0x40915a
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00558723
add esp, 4
xor edx, edx
mov edi, 7
xor ebx, ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
call fcn.00412f00
cmp dword [esp + 0xd0], 8
jb 0x40919c
mov eax, dword [esp + 0xbc]
push eax
call fcn.00558723
add esp, 4
xor ecx, ecx
mov word [esp + 0xbc], cx
mov byte [esp + 0x120], 1
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
cmp dword [esp + 0xec], 8
jb 0x4091df
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00558723
add esp, 4
xor edx, edx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], dx
mov dword [esp + 0x120], 0x20
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x5c]
call fcn.00414ef0
mov eax, dword [esp + 0x58]
push eax
call fcn.00558723
add esp, 4
xor eax, eax
jmp 0x407fb1
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x409246
lea eax, [esp + 0xbc]
push eax
push str._DeviceIPControlChannel::get_device_properties__Unknown_status_returned._Value:__S
push 1
call fcn.005304d0
add esp, 0xc
lea ecx, [esp + 0xbc]
call fcn.004222c0
mov byte [esp + 0x120], 1
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
lea ecx, [esp + 0xd8]
call fcn.004222c0
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x124], 0xffffffff
call fcn.00405e70
mov eax, 0x16
jmp 0x407fb1
push str._DeviceIPControlChannel::get_device_properties__Error_parsing_device_dynamic_properties_response.
push 1
call fcn.005304d0
add esp, 8
cmp dword [esp + 0xd0], 8
jb 0x4092c7
mov edx, dword [esp + 0xbc]
push edx
call fcn.00558723
add esp, 4
xor eax, eax
mov word [esp + 0xbc], ax
mov byte [esp + 0x120], 1
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
cmp dword [esp + 0xec], 8
jb 0x40930a
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00558723
add esp, 4
xor edx, edx
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], dx
mov dword [esp + 0x120], 0x21
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x5c]
call fcn.00414ef0
mov eax, dword [esp + 0x58]
push eax
call fcn.00558723
add esp, 4
mov eax, 0x16
jmp 0x407fb1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], edi
call fcn.0055909d
push 0x60e354
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], vtable.std::bad_alloc.0
call fcn.00559aa1
int3