Function at 0x1002ea90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090a00
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0xe4c
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 ebx, ecx
mov dword [ebp - 0xe5c], ebx
xor eax, eax
mov word [ebp - 0xe54], ax
push 0x206
push eax
lea eax, [ebp - 0xe52]
push eax
call fcn.10055aa0
push 0xa28
push 0
lea eax, [ebp - 0xc4c]
push eax
call fcn.10055aa0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call fcn.10055aa0
add esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
add ebx, 0x2c
mov dword [ebx], 0
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x42c]
push eax
call sym.mbae_api_na.dll__GetLicenseInfo_12
mov edi, eax
test edi, edi
je 0x1002ebfb
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1002eb85
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 0x1002ebe1
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1002ebc0
mov byte [esi + 0xffff], 0
push esi
push str.ValidateLicense
push 1
mov edx, 0xb9
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002ebd8
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 0x1002ee75
mov ecx, str.Trial
lea eax, [ebp - 0x42c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002ec2c
test dx, dx
je 0x1002ec28
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002ec2c
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002ec06
xor eax, eax
jmp 0x1002ec31
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002eca9
push ebx
lea edx, [ebp - 0x634]
lea ecx, [ebp - 0x42c]
call fcn.1002eea0
add esp, 4
mov edi, eax
test edi, edi
je 0x1002eca9
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002eb6b
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1002ebc0
mov byte [esi + 0xffff], 0
push esi
push str.ValidateLicense
push 1
mov edx, 0xc2
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002ebd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0xe58], 0
push 0x1000a
call fcn.1005218a
mov edi, eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov esi, eax
test edi, edi
je 0x1002ed86
test esi, esi
je 0x1002ed86
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x42c]
push eax
mov eax, dword [ebp - 0xe5c]
push dword [eax + 0x2c]
push str.License:__d____s____s
push 0xffff
push esi
call fcn.1005211a
add esp, 0x18
test eax, eax
jle 0x1002ed71
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xffffffffffffffff
push esi
mov ecx, esi
call fcn.10001b80
inc eax
push eax
push edi
lea eax, [ebp - 0xe58]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1002ed54
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push edi
push str.ValidateLicense
push 4
mov edx, 0xc5
mov ecx, str...StandAloneSvcMisc.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002ed9e
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1002ed98
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]
test edi, edi
je 0x1002edab
push edi
call fcn.10052152
add esp, 4
test esi, esi
je 0x1002edb8
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0
call fcn.1002edd2
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x1002ee75
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