Function at 0x40ebe9
Capabilities:
Reference sql statements

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004553e0
mov edx, 0x57a126
lea ecx, [esp]
call fcn.0041e008
mov ebx, dword [0x60ae20]
cmp ebx, 1
jne 0x40ec1d
mov edx, 0x57b184
lea ecx, [esp]
call fcn.0041e008
jmp 0x40ec69
mov ebx, dword [0x60ae20]
cmp ebx, 2
jne 0x40ec37
mov edx, 0x57d410
lea ecx, [esp]
call fcn.0041e008
jmp 0x40ec69
mov ebx, dword [0x60ae20]
cmp ebx, 3
jne 0x40ec51
mov edx, 0x580732
lea ecx, [esp]
call fcn.0041e008
jmp 0x40ec69
mov ebx, dword [0x60ae20]
cmp ebx, 4
jne 0x40ec69
mov edx, str.Office_2016_21
lea ecx, [esp]
call fcn.0041e008
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0xc]
mov eax, 0x57a126
push eax
push dword [0x60adc0]
call fcn.0044719f
mov ebx, eax
add ebx, 0xa5
push ebx
push dword [0x60adc0]
call fcn.00447130
mov ebx, eax
add ebx, 0x6e
push ebx
call fcn.00411e4c
call fcn.0041e692
add dword [esp], edx
call fcn.004535f0
lea eax, [esp + 8]
push eax
call fcn.004552e0
push dword [esp + 4]
mov edx, str.noneresult
pop ecx
call fcn.0041e640
jne 0x40eead
push dword [esp + 4]
mov edx, 0x57a126
pop ecx
call fcn.0041e6d0
je 0x40eeab
mov dword [esp + 8], 0
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.SELECT_GROUPS__PRODUCT_FROM_keys_WHERE_key_And_GROUPS
push edx
call fcn.00455280
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0x14]
call fcn.004535f0
pop eax
mov edx, 0x57a9d8
push edx
call fcn.00455280
call fcn.00455370
push dword [0x60adb4]
call fcn.0041e692
add dword [esp + 4], edx
call fcn.0044bd6a
call fcn.0041e6b0
mov ebx, eax
and ebx, ebx
je 0x40edb2
push dword [0x60adb4]
call fcn.0044bd7c
and eax, eax
je 0x40eda7
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
push 0
push dword [0x60adb4]
call fcn.0044bda4
lea eax, [esp + 0x10]
push eax
call fcn.004552e0
mov dword [esp + 8], 1
jmp 0x40eda7
push dword [0x60adb4]
call fcn.0044bdd1
mov ebx, dword [esp + 8]
and ebx, ebx
jne 0x40ee90
mov edx, str.INSERT_INTO_keys
lea ecx, [esp + 0x10]
call fcn.0041e008
mov edx, dword [esp + 0x10]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
mov edx, str._key__Description__Lic__Blocked__GROUPS__PRODUCT_VALUES__________
push edx
call fcn.00455280
mov edx, dword [esp + 8]
push edx
call fcn.00455280
mov edx, 0x585c08
push edx
call fcn.00455280
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov eax, dword [0x60ae20]
cdq
push edx
push eax
call fcn.004533c0
pop eax
mov edx, 0x5807be
push edx
call fcn.00455280
lea eax, [esp + 0x14]
push eax
call fcn.004552e0
push dword [esp + 0x10]
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40ee8e
push edx
call fcn.00455240
pop edx
push eax
push 1
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.Add_link_error
push edx
call fcn.00455280
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
call fcn.0044be2b
pop eax
call fcn.0041e692
add dword [esp], edx
call fcn.00415396
call fcn.0041e6b0
jmp 0x40eea0
push 1
mov eax, str.Add_Group_error__Group_exist
push eax
call fcn.00415396
push dword [0x60ae20]
call fcn.0040c215
jmp 0x40eebb
mov edx, 0x57a126
lea ecx, [esp + 4]
call fcn.0041e008
xor eax, eax
push dword [esp + 0xc]
call fcn.00455440
push dword [esp + 0x10]
call fcn.00455440
push dword [esp]
call fcn.00455440
push dword [esp + 4]
call fcn.00455440
add esp, 0x14
pop ebx
ret