Function at 0x409dd5
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x409ddb
call fcn.004553e0
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.0041e000
mov edx, dword [esp + 0x34]
lea ecx, [esp + 4]
call fcn.0041e000
call fcn.0040c1e3
mov dword [esp + 8], 0
mov edx, 0x57a126
lea ecx, [esp + 0xc]
call fcn.0041e008
mov ebx, dword [0x60aac0]
and ebx, ebx
jne 0x409e94
mov dword [esp + 0x10], 0
jmp 0x409e35
push dword [0x60ac0c]
call fcn.00442133
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 0x10]
jl 0x409e8f
push dword [esp + 0x10]
push dword [0x60ac0c]
call fcn.00442160
mov ebx, eax
and ebx, ebx
jle 0x409e89
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0x18]
push dword [0x60ac0c]
call fcn.004421c7
lea eax, [esp + 0x10]
push eax
call fcn.004552e0
jmp 0x409e8f
inc dword [esp + 0x10]
jno 0x409e35
jmp 0x409f1c
mov edx, dword [esp]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x10]
push eax
call fcn.004552e0
push dword [esp + 0xc]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
jne 0x409ed3
push dword [esp + 0xc]
mov edx, 0x586516
pop ecx
call fcn.0041e640
jne 0x409ed3
jmp 0x409eda
mov eax, 1
jmp 0x409edc
xor eax, eax
and eax, eax
jne 0x409ef1
push dword [esp + 0xc]
call fcn.0040e943
mov ebx, eax
and ebx, ebx
jg 0x409ef1
jmp 0x409ef8
mov eax, 1
jmp 0x409efa
xor eax, eax
and eax, eax
je 0x409f1c
mov edx, dword [0x60ab8c]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x10]
push eax
call fcn.004552e0
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0x10]
call fcn.004123d1
lea eax, [esp + 0x10]
push eax
call fcn.004552e0
push dword [esp + 0xc]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
jne 0x409f60
push dword [esp + 0xc]
mov edx, 0x586516
pop ecx
call fcn.0041e640
jne 0x409f60
mov eax, 1
jmp 0x409f62
xor eax, eax
and eax, eax
je 0x409f7c
push dword [esp + 0xc]
call fcn.0040e943
mov ebx, eax
and ebx, ebx
jne 0x409f7c
mov eax, 1
jmp 0x409f7e
xor eax, eax
and eax, eax
je 0x409f9e
push dword [0x60aa70]
push dword [esp + 0x10]
call fcn.00452e20
mov ebx, eax
and ebx, ebx
jne 0x409f9e
mov eax, 1
jmp 0x409fa0
xor eax, eax
and eax, eax
je 0x409fb5
mov ebx, dword [0x60ac50]
and ebx, ebx
jne 0x409fb5
mov eax, 1
jmp 0x409fb7
xor eax, eax
and eax, eax
je 0x409fd7
push dword [0x60aee8]
push dword [esp + 0x10]
call fcn.00452e20
mov ebx, eax
and ebx, ebx
jne 0x409fd7
mov eax, 1
jmp 0x409fd9
xor eax, eax
and eax, eax
je 0x40a58e
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.SELECT_key__GROUPS__PRODUCT_FROM_keys_WHERE_NOT_key_And_GROUPS
push edx
call fcn.00455280
mov edx, dword [esp + 0x14]
push edx
call fcn.00455280
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 0x40a0ba
push dword [0x60adb4]
call fcn.0044bd7c
and eax, eax
je 0x40a0af
mov edx, dword [esp + 0x14]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
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 edx
call fcn.00455240
pop edx
push eax
push 0
push dword [0x60adb4]
call fcn.0044bda4
call fcn.0041e692
add dword [esp], edx
call fcn.00452ca0
pop eax
mov edx, 0x585882
push edx
call fcn.00455280
lea eax, [esp + 0x18]
push eax
call fcn.004552e0
jmp 0x40a039
push dword [0x60adb4]
call fcn.0044bdd1
mov eax, str.SELECT_key__GROUPS__PRODUCT_FROM_keys_WHERE_NOT_key_And_BlockedKey_Blocked_
push eax
push dword [0x60adb4]
call fcn.0044bd6a
mov ebx, eax
and ebx, ebx
je 0x40a1c4
push dword [0x60adb4]
call fcn.0044bd7c
and eax, eax
je 0x40a1b9
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 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
call fcn.0041e692
add dword [esp], edx
call fcn.00452ca0
call fcn.00455370
push dword [esp + 0x1c]
call fcn.0041e692
add dword [esp + 4], edx
call fcn.00452e20
call fcn.0041e6b0
mov ebx, eax
and ebx, ebx
jne 0x40a1b4
mov edx, dword [esp + 0x14]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
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 edx
call fcn.00455240
pop edx
push eax
push 0
push dword [0x60adb4]
call fcn.0044bda4
call fcn.0041e692
add dword [esp], edx
call fcn.00452ca0
pop eax
mov edx, 0x585882
push edx
call fcn.00455280
lea eax, [esp + 0x18]
push eax
call fcn.004552e0
jmp 0x40a0d5
push dword [0x60adb4]
call fcn.0044bdd1
push dword [esp]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
je 0x40a1ec
push dword [esp + 4]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
je 0x40a1ec
mov eax, 1
jmp 0x40a1ee
xor eax, eax
and eax, eax
je 0x40a213
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
call fcn.0044bf2b
lea eax, [esp + 0x1c]
push eax
call fcn.004552e0
jmp 0x40a22f
mov edx, dword [esp + 4]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x1c]
push eax
call fcn.004552e0
push dword [esp + 0x18]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
jne 0x40a589
mov eax, str._2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5
push eax
push 0x17
call fcn.00420920
and eax, eax
je 0x40a4cd
push dword [esp + 0x18]
push 0x17
call fcn.004209d0
and eax, eax
je 0x40a4cd
mov eax, str.Begin_Transaction
push eax
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40a2d1
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
push 0x17
call fcn.00420aa0
and eax, eax
je 0x40a482
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 edx
call fcn.00455240
pop edx
push eax
push 0x17
call fcn.00420b20
call fcn.0041e692
add dword [esp], edx
call fcn.00452ca0
lea eax, [esp + 0x20]
push eax
call fcn.004552e0
mov dword [esp + 0x20], 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.00452e20
mov ebx, eax
and ebx, ebx
jle 0x40a347
mov dword [esp + 0x20], 1
mov ebx, dword [esp + 0x20]
and ebx, ebx
jne 0x40a478
mov edx, str.INSERT_INTO_keys
lea ecx, [esp + 0x24]
call fcn.0041e008
mov edx, dword [esp + 0x24]
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 + 0x20]
push edx
call fcn.00455280
mov edx, str.________
push edx
call fcn.00455280
mov edx, dword [esp + 0x10]
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 + 0x28]
push eax
call fcn.004552e0
push dword [esp + 0x24]
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40a438
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
mov ebx, dword [esp + 8]
inc ebx
mov dword [esp + 8], ebx
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.Add_Key:
push edx
call fcn.00455280
mov edx, dword [esp + 0x24]
push edx
call fcn.00455280
call fcn.0041e692
add dword [esp], edx
call fcn.0040bd11
call fcn.0041e6b0
call fcn.004124d0
jmp 0x40a2d1
mov eax, str.Commit
push eax
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40a4cd
push edx
call fcn.00455240
pop edx
push eax
push 1
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
call fcn.0044be2b
call fcn.0041e692
add dword [esp], edx
call fcn.00415396
call fcn.0041e6b0
mov ebx, dword [esp + 8]
and ebx, ebx
jle 0x40a589
push dword [0x60ae20]
call fcn.0040c215
mov dword [esp + 0x10], 0
jmp 0x40a4ee
push dword [0x60ac0c]
call fcn.00442133
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 0x10]
jl 0x40a589
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 + 0x1c]
push dword [0x60ac0c]
call fcn.004421c7
call fcn.0041e692
add dword [esp], edx
call fcn.004123d1
call fcn.00455370
push edx
call fcn.00455240
pop edx
push eax
push dword [0x60ab8c]
call fcn.004123d1
call fcn.0041e6c0
mov edx, eax
pop ecx
push ecx
call fcn.0041e6c0
mov ecx, eax
call fcn.0041e640
je 0x40a57f
push 1
push dword [esp + 0x14]
push dword [0x60ac0c]
call fcn.00445231
jmp 0x40a589
inc dword [esp + 0x10]
jno 0x40a4ee
jmp 0x40aadd
push dword [0x60aee8]
push dword [esp + 0x10]
call fcn.00452e20
mov ebx, eax
and ebx, ebx
jle 0x40aadd
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.SELECT_key__GROUPS__PRODUCT_FROM_keys_WHERE_NOT_key_And_PRODUCT
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, 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 0x40a694
push dword [0x60adb4]
call fcn.0044bd7c
and eax, eax
je 0x40a689
mov edx, dword [esp + 0x14]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
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 edx
call fcn.00455240
pop edx
push eax
push 0
push dword [0x60adb4]
call fcn.0044bda4
call fcn.0041e692
add dword [esp], edx
call fcn.00452ca0
pop eax
mov edx, 0x585882
push edx
call fcn.00455280
lea eax, [esp + 0x18]
push eax
call fcn.004552e0
jmp 0x40a613
push dword [0x60adb4]
call fcn.0044bdd1
push dword [esp]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
je 0x40a6bc
push dword [esp + 4]
mov edx, 0x57a126
pop ecx
call fcn.0041e640
je 0x40a6bc
mov eax, 1
jmp 0x40a6be
xor eax, eax
and eax, eax
je 0x40a6e3
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
call fcn.0044bf2b
lea eax, [esp + 0x1c]
push eax
call fcn.004552e0
jmp 0x40a6ff
mov edx, dword [esp + 4]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x1c]
push eax
call fcn.004552e0
mov eax, str._2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5__2_46_9b_df_hjkmnp_rtvw_yB_DF_HJKMNP_RTVW_Y_5
push eax
push 0x17
call fcn.00420920
and eax, eax
je 0x40aadd
push dword [esp + 0x18]
push 0x17
call fcn.004209d0
and eax, eax
je 0x40aadd
mov eax, str.Begin_Transaction
push eax
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40a78c
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
push 0x17
call fcn.00420aa0
and eax, eax
je 0x40a9d6
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 edx
call fcn.00455240
pop edx
push eax
push 0x17
call fcn.00420b20
call fcn.0041e692
add dword [esp], edx
call fcn.00452ca0
lea eax, [esp + 0x20]
push eax
call fcn.004552e0
mov dword [esp + 0x20], 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.00452e20
mov ebx, eax
and ebx, ebx
jle 0x40a802
mov dword [esp + 0x20], 1
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jne 0x40a8bc
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.UPDATE_keys_SET_BlockedKey_Blocked__WHERE_key
push edx
call fcn.00455280
mov edx, dword [esp + 0x24]
push edx
call fcn.00455280
mov edx, 0x57a9d8
push edx
call fcn.00455280
call fcn.00455370
push dword [0x60adb4]
call fcn.0041e692
add dword [esp + 4], edx
call fcn.0044bdef
call fcn.0041e6b0
mov ebx, eax
and ebx, ebx
jne 0x40a863
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.UPDATE_keys_SET_ActivCountKey_Blocked__WHERE_key
push edx
call fcn.00455280
mov edx, dword [esp + 0x24]
push edx
call fcn.00455280
mov edx, 0x57a9d8
push edx
call fcn.00455280
call fcn.00455370
push dword [0x60adb4]
call fcn.0041e692
add dword [esp + 4], edx
call fcn.0044bdef
call fcn.0041e6b0
mov ebx, eax
and ebx, ebx
jne 0x40a8b7
jmp 0x40a98c
mov edx, str.INSERT_INTO_keys
lea ecx, [esp + 0x24]
call fcn.0041e008
mov edx, dword [esp + 0x24]
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 + 0x20]
push edx
call fcn.00455280
mov edx, str.______Key_Blocked_____
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 + 0x28]
push eax
call fcn.004552e0
push dword [esp + 0x24]
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40a98c
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
mov ebx, dword [esp + 8]
inc ebx
mov dword [esp + 8], ebx
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov edx, str.Add_Blocked_Key:
push edx
call fcn.00455280
mov edx, dword [esp + 0x24]
push edx
call fcn.00455280
call fcn.0041e692
add dword [esp], edx
call fcn.0040bd11
call fcn.0041e6b0
call fcn.004124d0
jmp 0x40a78c
mov eax, str.Commit
push eax
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x40aa21
push edx
call fcn.00455240
pop edx
push eax
push 1
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
call fcn.0044be2b
call fcn.0041e692
add dword [esp], edx
call fcn.00415396
call fcn.0041e6b0
mov ebx, dword [esp + 8]
and ebx, ebx
jle 0x40aadd
push dword [0x60ae20]
call fcn.0040c215
mov dword [esp + 0x10], 0
jmp 0x40aa42
push dword [0x60ac0c]
call fcn.00442133
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 0x10]
jl 0x40aadd
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 + 0x1c]
push dword [0x60ac0c]
call fcn.004421c7
call fcn.0041e692
add dword [esp], edx
call fcn.004123d1
call fcn.00455370
push edx
call fcn.00455240
pop edx
push eax
push dword [0x60ab8c]
call fcn.004123d1
call fcn.0041e6c0
mov edx, eax
pop ecx
push ecx
call fcn.0041e6c0
mov ecx, eax
call fcn.0041e640
je 0x40aad3
push 1
push dword [esp + 0x14]
push dword [0x60ac0c]
call fcn.00445231
jmp 0x40aadd
inc dword [esp + 0x10]
jno 0x40aa42
mov dword [0x60aac0], 0
xor eax, eax
push dword [esp + 0x1c]
call fcn.00455440
push dword [esp]
call fcn.00455440
push dword [esp + 0xc]
call fcn.00455440
push dword [esp + 0x18]
call fcn.00455440
push dword [esp + 0x14]
call fcn.00455440
push dword [esp + 4]
call fcn.00455440
push dword [esp + 0x24]
call fcn.00455440
add esp, 0x28
pop ebx
ret 8