Function at 0x1002e630
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100909d8
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0xc44
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor eax, eax
mov word [ebp - 0xc4c], ax
push 0x206
push eax
lea eax, [ebp - 0xc4a]
push eax
call fcn.10055aa0
push 0xa28
push 0
lea eax, [ebp - 0xa44]
push eax
call fcn.10055aa0
add esp, 0x18
mov dword [ebp - 0xc50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
cmp byte [0x100e28b8], 0
jne 0x1002e85b
cmp dword [esi + 0x2c], 0
je 0x1002e85b
mov byte [0x100e28b8], 1
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
push eax
call sym.mbae_api_na.dll__GetLicenseInfo_12
mov edi, eax
test edi, edi
je 0x1002e799
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1002e723
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1002e77f
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1002e75e
mov byte [esi + 0xffff], 0
push esi
push str.SetProductLicense
push 1
mov edx, 0x57
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002e776
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, edi
jmp 0x1002ea60
cmp dword [esi + 0x2c], 1
mov eax, str.premium
je 0x1002e7a9
mov eax, str.trial
push 0x100e22c0
push eax
push str.mbae___consumer__s__service____base:_s__
lea eax, [ebp - 0xa44]
push eax
call fcn.10004ed0
push str.MBAE_Lic
push 0x104
lea eax, [ebp - 0x83c]
push eax
call fcn.10053320
add esp, 0x1c
lea ecx, [ebp - 0xc4c]
call fcn.1002dea0
mov edi, eax
test edi, edi
je 0x1002e843
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002e709
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1002e75e
mov byte [esi + 0xffff], 0
push esi
push str.SetProductLicense
push 1
mov edx, 0x64
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002e776
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
jmp 0x1002ea5e
mov edi, dword [esi + 0x2c]
cmp edi, 1
je 0x1002e843
push 0
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x224]
call fcn.1002f840
add esp, 4
test eax, eax
jne 0x1002e8e4
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e886
sub ecx, edx
sar ecx, 1
cmp ecx, 9
jne 0x1002e8e4
lea ecx, [ebp - 0x42c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e8a3
sub ecx, edx
sar ecx, 1
cmp ecx, 0x13
jne 0x1002e8e4
lea eax, [ebp - 0xc50]
push eax
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x224]
call fcn.1002eea0
add esp, 4
cmp dword [ebp - 0xc50], 0
je 0x1002e8fc
mov dword [esi + 0x2c], 1
jmp 0x1002e8fc
cmp dword [esi + 0x2c], 0
je 0x1002e843
mov dword [esi + 0x2c], 0
mov ecx, esi
call fcn.100379c0
cmp edi, dword [esi + 0x2c]
je 0x1002ea3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0xc54], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0xc50], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0xc50], 0
je 0x1002e9e8
test edi, edi
je 0x1002e9e8
lea eax, [ebp - 0x224]
push eax
push dword [esi + 0x2c]
push str.License:__d____s
push 0xffff
push edi
call fcn.1005211a
add esp, 0x14
test eax, eax
jle 0x1002e9d3
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0xc50]
lea eax, [ebp - 0xc54]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1002e9b1
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [ebp - 0xc50]
push str.SetProductLicense
push 4
mov edx, 0x89
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002ea00
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1002e9fa
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xc50]
test eax, eax
je 0x1002ea13
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1002ea20
push edi
call fcn.10052152
add esp, 4
mov eax, dword [esi + 0x2c]
dec eax
neg eax
sbb al, al
and al, byte [0x100e28b8]
mov byte [0x100e28b8], al
mov ecx, esi
call fcn.100379c0
mov dword [ebp - 4], 0
call fcn.1002ea48
jmp 0x1002ea57
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret