Function at 0x414770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af577
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6670c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
push 0x48
mov byte [ebp - 0x31], al
call fcn.0057cb6c
mov ebx, eax
add esp, 4
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
mov dword [ebx + 4], 1
lea ecx, [edi + 4]
mov dword [ebx + 8], 1
xor eax, eax
mov dword [ebx], vtable.std::_Ref_count_obj_class_MBAMService_.0
mov dword [edi], vtable.MBAMService.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x2c], edi
mov word [ecx], ax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x38], eax
push 0xb
mov byte [ebp - 4], 8
push str.MBAMService
mov byte [edi + 0x34], 1
call fcn.004181e0
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
mov ecx, edi
mov dword [ebp - 4], 9
call fcn.00419150
test al, al
je 0x414b27
call fcn.004406b0
test al, al
je 0x414974
push str.unactivating_unredeeming_Premium_license
mov edx, 0x278
mov ecx, 0x643358
call fcn.00439030
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push 0
mov byte [ebp - 0x20], 0
call fcn.004312b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
mov byte [ebp - 0x44], 0
mov edx, str.Deactivate_Product
movq qword [ebp - 0x3c], xmm0
call fcn.004445d0
push str.event_type
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.0041eca0
mov esi, eax
mov al, byte [ebp - 0x44]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x48], cl
mov byte [ebp - 0x44], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x48]
call fcn.00432670
push str.event_properties
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.0041eca0
xorps xmm0, xmm0
mov byte [ebp - 0x44], 0
mov edx, str.uninstall.retention.premium.switch
movq qword [ebp - 0x3c], xmm0
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.004445d0
push str.source
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0041eca0
mov esi, eax
mov al, byte [ebp - 0x44]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x48], cl
mov byte [ebp - 0x44], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x48]
call fcn.00432670
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00441260
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00432670
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x20]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x414aa8
call fcn.004407f0
test al, al
je 0x414b20
push str.ending_Trial_license
mov edx, 0x27e
mov ecx, 0x643358
call fcn.00439030
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x18]
push 0
mov byte [ebp - 0x20], 0
call fcn.004312b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
mov byte [ebp - 0x44], 0
mov edx, str.End_Trial
movq qword [ebp - 0x3c], xmm0
call fcn.004445d0
push str.event_type
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.0041eca0
mov esi, eax
mov al, byte [ebp - 0x44]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x48], cl
mov byte [ebp - 0x44], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x48]
call fcn.00432670
push str.event_properties
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.0041eca0
xorps xmm0, xmm0
mov byte [ebp - 0x44], 0
mov edx, str.uninstall.retention.trial.switch
movq qword [ebp - 0x3c], xmm0
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.004445d0
push str.source
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.0041eca0
mov esi, eax
mov al, byte [ebp - 0x44]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x48], cl
mov byte [ebp - 0x44], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x48]
call fcn.00432670
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.00441260
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00432670
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
jns 0x414b20
lea ecx, [ebp - 0x28]
call fcn.0044a310
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x414ac5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_n_mb5uns_srcmb4unsmainframe.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x285
mov ecx, eax
call fcn.00414f30
mov edx, str.:_failed_to_change_license_state__error_
mov ecx, eax
call fcn.00416700
push esi
mov ecx, eax
call fcn.00414d80
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00418110
jmp 0x414b3e
mov cl, 1
mov byte [ebp - 0x31], cl
jmp 0x414b41
push str.couldnt_connect_to_MBAM_service
mov edx, 0x28e
mov ecx, 0x643358
call fcn.00439030
add esp, 4
mov cl, byte [ebp - 0x31]
or esi, 0xffffffff
mov dword [ebp - 4], 0x19
mov eax, esi
lea edx, [ebx + 4]
lock xadd dword [edx], eax
jne 0x414b72
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], esi
dec esi
jne 0x414b6d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov al, byte [ebp - 0x31]
jmp 0x414b74
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057c5eb
mov esp, ebp
pop ebp
ret