Function at 0x100ec550
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152628
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x908
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7c4], esi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x18], edi
push str.cnp::User::Register
lea ecx, [ebp - 0x7c0]
mov dword [ebp - 4], 1
call fcn.1000ab60
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movlpd qword [ebp - 0x1c], xmm0
push 0x28
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.101157fb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.100e4e40
test al, al
jne 0x100ec680
push str.cnp::User::Register
mov edx, 8
lea ecx, [ebp - 0x218]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 4
cmp byte [eax + 0x48], 0
je 0x100ec62d
mov edx, str.get_DeviceMACAddresses_failed
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x218]
call fcn.1000ad70
mov dword [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi], 3
mov dword [edi + 4], 0x1019abc8
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov byte [edi + 0x40], 1
jmp 0x100ecbfa
cmp dword [ebp - 0x18], 0
jne 0x100ec6c3
push str.cnp::User::Register
mov edx, 8
lea ecx, [ebp - 0x218]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 5
cmp byte [eax + 0x48], 0
je 0x100ec6b4
mov edx, str.empty_macs_list
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 3
call fcn.1000ad70
add esi, 0x20
lea ecx, [ebp - 0x168]
push esi
call fcn.10002780
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x150], eax
mov al, byte [esi + 0x1c]
mov byte [ebp - 0x14c], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x148]
mov esi, dword [ebp - 0x7c4]
push esi
call fcn.10002780
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [ebx + 0x30]
mov dword [ebp - 0x130], eax
mov al, byte [esi + 0x1c]
mov byte [ebp - 0x12c], al
mov eax, dword [ebx + 0x48]
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x110], eax
movq xmm0, qword [ebx + 0x40]
mov al, byte [ebx + 0x4c]
movq qword [ebp - 0x118], xmm0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0xf
mov byte [ebx + 0x30], 0
mov byte [ebp - 0x10c], al
mov byte [ebp - 4], 7
mov dword [ebp - 0x108], 0
call fcn.1000d510
xor ecx, ecx
test al, al
setne cl
mov dword [ebp - 0x104], ecx
call fcn.100e5020
lea ecx, [ebp - 0x3a8]
mov dword [ebp - 0x100], eax
call fcn.100e3ec0
cmp byte [ebp - 0x3a8], 0
jne 0x100ec7c0
push 0
mov dword [ebp - 0x7dc], 0
lea ecx, [ebp - 0x7dc]
push 0x10164d88
mov dword [ebp - 0x7cc], 0
mov dword [ebp - 0x7c8], 0xf
mov byte [ebp - 0x7dc], 0
call fcn.10002c70
jmp 0x100ec813
push 0xb0
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10117ff0
add esp, 8
lea ecx, [ebp - 0x220]
call fcn.100109b0
lea edx, [ebp - 0x3a4]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x220]
call fcn.100e3fe0
lea eax, [ebp - 0x7dc]
push eax
lea ecx, [ebp - 0x220]
call fcn.100108d0
lea ecx, [ebp - 0x220]
call fcn.1000f220
movups xmm0, xmmword [ebp - 0x7dc]
mov byte [ebp - 0x7dc], 0
movups xmmword [ebp - 0xfc], xmm0
movq xmm0, qword [ebp - 0x7cc]
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0x7cc], 0
mov dword [ebp - 0x7c8], 0xf
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x7c4], eax
lea ecx, [ebp - 0x7c4]
lea eax, [ebp - 0xdc]
push eax
call fcn.100ecd90
lea eax, [ebp - 0x7f4]
mov byte [ebp - 4], 0xb
push eax
call fcn.100ecf40
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp byte [ebx + 0x2c], 0
mov byte [ebp - 0x90], 0
je 0x100ec911
movups xmm0, xmmword [ebx + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x98], eax
mov al, byte [ebx + 0x28]
movups xmmword [ebp - 0xb0], xmm0
mov byte [ebx + 0xc], 0
movq xmm0, qword [ebx + 0x1c]
movq qword [ebp - 0xa0], xmm0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebp - 0x94], al
mov byte [ebp - 0x90], 1
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x7e0]
cmp edx, 0x10
jb 0x100ec94f
mov ecx, dword [ebp - 0x7f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ec945
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ecd4a
push edx
push ecx
call fcn.101157ed
add esp, 8
mov dword [ebp - 0x7e4], 0
mov dword [ebp - 0x7e0], 0xf
mov byte [ebp - 0x7f4], 0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x7c8]
cmp edx, 0x10
jb 0x100ec9a8
mov ecx, dword [ebp - 0x7dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ec99e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ecd4a
push edx
push ecx
call fcn.101157ed
add esp, 8
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x918]
call fcn.100ed130
call fcn.1000c7d0
mov dword [ebp - 0x7d0], eax
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x918]
push eax
call fcn.100ed130
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7f4]
movq xmm0, qword [ebp - 0x7d0]
mov eax, dword [ebp - 0x7c8]
push 0xe
push str.register_agent
movq qword [ebp - 0x398], xmm0
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x7f4], 0
mov dword [ebp - 0x7e4], 0
mov dword [ebp - 0x7e0], 0xf
call fcn.10002c70
movups xmm0, xmmword [ebp - 0x7f4]
lea eax, [ebp - 0x248]
push eax
movups xmmword [ebp - 0x38c], xmm0
lea ecx, [ebp - 0x36c]
movq xmm0, qword [ebp - 0x7e4]
movq qword [ebp - 0x37c], xmm0
call fcn.100ed130
lea ecx, [ebp - 0x248]
call fcn.100ea6a0
lea ecx, [ebp - 0x918]
call fcn.100ea6a0
lea eax, [ebp - 0x398]
mov byte [ebp - 4], 0x11
push eax
mov edx, str.connect_app_mgmt
lea ecx, [ebp - 0x1d8]
call fcn.100f3a70
add esp, 4
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0x12
push eax
mov edx, str.connect_app_mgmt
lea ecx, [ebp - 0x290]
call fcn.100f3df0
add esp, 4
cmp byte [ebp - 0x250], 0
je 0x100ecaf7
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x838]
call fcn.100540a0
mov eax, ecx
lea ecx, [ebp - 0x88]
push eax
call fcn.100540a0
lea ecx, [ebp - 0x838]
mov byte [ebp - 0x28], 1
call fcn.1003fd70
cmp byte [ebp - 0x250], 0
je 0x100ecb1c
lea ecx, [ebp - 0x290]
call fcn.1003fd70
jmp 0x100ecb1c
movsx eax, byte [ebp - 0x178]
test eax, eax
jne 0x100ecd4f
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x88]
call fcn.10058a40
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x1d8]
call fcn.10049e70
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x14
call fcn.100ea6a0
mov edx, dword [ebp - 0x378]
cmp edx, 0x10
jb 0x100ecb70
mov ecx, dword [ebp - 0x38c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ecb66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ecd7c
push edx
push ecx
call fcn.101157ed
add esp, 8
movsx eax, byte [ebp - 0x28]
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0xf
mov byte [ebp - 0x38c], 0
test eax, eax
je 0x100ecc93
cmp eax, 1
jne 0x100ecd4f
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x838]
call fcn.100540a0
mov eax, ecx
mov ecx, edi
push eax
call fcn.100540a0
lea ecx, [ebp - 0x838]
mov byte [edi + 0x40], 1
call fcn.1003fd70
movsx eax, byte [ebp - 0x28]
inc eax
sub eax, 0
je 0x100ecbef
sub eax, 1
je 0x100ecbe7
lea ecx, [ebp - 0x88]
call fcn.1003fd70
jmp 0x100ecbef
lea ecx, [ebp - 0x78]
call fcn.1004f460
lea ecx, [ebp - 0x168]
call fcn.100ea6a0
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.100e51a0
push 0x28
push dword [ebp - 0x1c]
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x7c0]
call fcn.1000ac70
mov edx, dword [ebx + 0x44]
cmp edx, 0x10
jb 0x100ecc57
mov ecx, dword [ebx + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ecc4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ecd81
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebx + 0xc]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0xf
mov byte [ebx + 0x30], 0
call fcn.100110c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x48
movsx eax, byte [ebp - 0x30]
test eax, eax
jne 0x100ecd45
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0x5c]
mov byte [edi + 0x1c], al
movsx eax, byte [ebp - 0x28]
inc eax
mov byte [edi + 0x40], 0
sub eax, 0
je 0x100eccde
sub eax, 1
je 0x100eccd6
lea ecx, [ebp - 0x88]
call fcn.1003fd70
jmp 0x100eccde
lea ecx, [ebp - 0x78]
call fcn.1004f460
lea ecx, [ebp - 0x168]
call fcn.100ea6a0
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.100e51a0
push 0x28
push dword [ebp - 0x1c]
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x7c0]
call fcn.1000ac70
mov edx, dword [ebx + 0x44]
cmp edx, 0x10
jb 0x100ecc57
mov ecx, dword [ebx + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ecc4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ecd81
jmp 0x100ecc4d
call fcn.10008950
call fcn.1011a6bf
xorps xmm0, xmm0
mov dword [ebp - 0x7c8], 0
lea ecx, [ebp - 0x7d0]
movq qword [ebp - 0x7d0], xmm0
call fcn.10012090
push 0x10197aa0
mov eax, ecx
push eax
call fcn.101179f2
call fcn.1011a6bf
call fcn.1011a6bf
int3