Function at 0x414d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6897
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65b0c8]
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
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
xor bl, bl
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00416dd0
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00416dd0
mov dword [ebp - 0x20], eax
push 0x48
mov byte [ebp - 4], 1
call fcn.00573cce
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
lea esi, [edi + 0xc]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
lea ecx, [esi + 4]
mov dword [edi], vtable.std::_Ref_count_obj_class_MBAMService_.0
xor eax, eax
mov dword [esi], vtable.MBAMService.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x24], esi
mov word [ecx], ax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
push 0xb
mov byte [ebp - 4], 0xa
push str.MBAMService
mov byte [esi + 0x34], 1
call fcn.00419250
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0041a4d0
test al, al
je 0x415095
call fcn.004342c0
test al, al
je 0x414f27
push str.unactivating_unredeeming_Premium_license
mov edx, 0x27a
mov ecx, 0x63b2c8
call fcn.0042bb40
add esp, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
push 6
push str.source
call fcn.0040cec0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00415220
push 0x22
push str.uninstall.retention.premium.switch
mov ecx, eax
call fcn.0040cec0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x414f03
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414ef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41511d
push edx
push ecx
call fcn.00573caf
add esp, 8
lea eax, [ebp - 0x20]
mov ecx, str.Deactivate_Product
push eax
lea edx, [ebp - 0x18]
call fcn.00432f20
mov ecx, dword [esi + 0x20]
add esp, 4
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0x34]
jmp 0x414fdf
call fcn.00434430
test al, al
je 0x415091
push str.ending_Trial_license
mov edx, 0x281
mov ecx, 0x63b2c8
call fcn.0042bb40
add esp, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 6
push str.source
call fcn.0040cec0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x18]
call fcn.00415220
push 0x20
push str.uninstall.retention.trial.switch
mov ecx, eax
call fcn.0040cec0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x414fc2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414fb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415122
push edx
push ecx
call fcn.00573caf
add esp, 8
lea eax, [ebp - 0x20]
mov ecx, str.End_Trial
push eax
lea edx, [ebp - 0x18]
call fcn.00432f20
mov eax, dword [esi + 0x20]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
jns 0x415091
lea ecx, [ebp - 0x40]
call fcn.0044a2a0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x415000
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_n_mb5uns_srcmb4unsmainframe.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x289
mov ecx, eax
call fcn.00415590
mov edx, str.:_failed_to_change_license_state__error_
mov ecx, eax
call fcn.00416f60
push esi
mov ecx, eax
call fcn.004153e0
push eax
call fcn.004172d0
mov byte [ebp - 4], 0xb
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4150ac
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415085
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415127
push edx
push ecx
call fcn.00573caf
add esp, 8
jmp 0x4150ac
mov bl, 1
jmp 0x4150ac
push str.couldnt_connect_to_MBAM_service
mov edx, 0x292
mov ecx, 0x63b2c8
call fcn.0042bb40
add esp, 4
or esi, 0xffffffff
mov byte [ebp - 4], 0xf
mov eax, esi
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x4150d5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x4150d5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.00416c00
push 0x40
push dword [ebp - 0x20]
call fcn.00573caf
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.00416c00
push 0x40
push dword [ebp - 0x18]
call fcn.00573caf
add esp, 8
mov al, bl
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.0057374d
mov esp, ebp
pop ebp
ret
call fcn.0057f4be
call fcn.0057f4be
call fcn.0057f4be
int3