Function at 0x412f65
Capabilities:
Reference sql statements

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.004553e0
mov edx, dword [esp + 0x28]
lea ecx, [esp]
call fcn.0041e000
mov dword [0x60ab44], 0
cmp dword [esp + 0x24], 0
je 0x41339b
mov dword [esp + 4], 2
mov eax, str.Begin_Transaction
push eax
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x412ffc
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 edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov eax, 0x585882
push eax
push 1
push dword [esp + 0x10]
call fcn.00453950
lea eax, [esp + 0xc]
push eax
call fcn.004552e0
push dword [esp + 8]
call fcn.00452c70
mov ebx, eax
and ebx, ebx
jle 0x413337
push dword [esp + 8]
call fcn.0040e943
and eax, eax
je 0x41312e
mov dword [esp + 0xc], 0
push dword [0x60b3a8]
call fcn.0044e41d
push dword [0x60b3a8]
call fcn.0044e432
or eax, eax
je 0x413091
mov ebp, dword [0x60b3ac]
push dword [ebp + 8]
mov edx, dword [esp + 0xc]
pop ecx
call fcn.0041e640
je 0x41308f
mov dword [esp + 0xc], 1
jmp 0x413091
jmp 0x413061
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x413129
push dword [0x60b3a8]
call fcn.0044e466
mov edx, dword [esp + 8]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
mov ebp, dword [0x60b3ac]
lea eax, [ebp + 8]
push eax
call fcn.004552e0
mov ebx, dword [0x60ab44]
inc ebx
mov dword [0x60ab44], ebx
mov edx, dword [esp + 8]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x14]
push eax
call fcn.004552e0
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 + 0x10]
push edx
call fcn.00455280
call fcn.0041e692
add dword [esp], edx
call fcn.0040bd11
call fcn.0041e6b0
jmp 0x4132f7
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0xc]
call fcn.004123d1
lea eax, [esp + 0x18]
push eax
call fcn.004552e0
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_Blocked_AND_GROUPS
push edx
call fcn.00455280
mov edx, dword [esp + 0x1c]
push edx
call fcn.00455280
mov edx, str._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, str._ORDER_BY_GROUPS_ASC
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 0x4132f7
push dword [0x60adb4]
call fcn.0044bd7c
and eax, eax
je 0x4132ec
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 + 0xc]
push eax
call fcn.004552e0
mov dword [esp + 0xc], 0
push dword [0x60b3a8]
call fcn.0044e41d
push dword [0x60b3a8]
call fcn.0044e432
or eax, eax
je 0x41324a
mov ebp, dword [0x60b3ac]
push dword [ebp + 8]
mov edx, dword [esp + 0xc]
pop ecx
call fcn.0041e640
je 0x413248
mov dword [esp + 0xc], 1
jmp 0x41324a
jmp 0x41321a
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x4132e2
push dword [0x60b3a8]
call fcn.0044e466
mov edx, dword [esp + 8]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
mov ebp, dword [0x60b3ac]
lea eax, [ebp + 8]
push eax
call fcn.004552e0
mov ebx, dword [0x60ab44]
inc ebx
mov dword [0x60ab44], ebx
mov edx, dword [esp + 8]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x14]
push eax
call fcn.004552e0
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 + 0x10]
push edx
call fcn.00455280
call fcn.0041e692
add dword [esp], edx
call fcn.0040bd11
call fcn.0041e6b0
call fcn.004124d0
jmp 0x4131ca
push dword [0x60adb4]
call fcn.0044bdd1
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
mov eax, 0x585882
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00453950
lea eax, [esp + 0xc]
push eax
call fcn.004552e0
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
call fcn.004124d0
jmp 0x41302a
mov eax, str.Commit
push eax
push dword [0x60adb4]
call fcn.0044bdef
mov ebx, eax
and ebx, ebx
jne 0x413396
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 0x413500
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 0x413500
push dword [esp]
push 0x17
call fcn.004209d0
and eax, eax
je 0x413500
push 0x17
call fcn.00420aa0
and eax, eax
je 0x413500
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 + 0xc]
push eax
call fcn.004552e0
mov dword [esp + 0xc], 0
push dword [0x60b3a8]
call fcn.0044e41d
push dword [0x60b3a8]
call fcn.0044e432
or eax, eax
je 0x41345e
mov ebp, dword [0x60b3ac]
push dword [ebp + 8]
mov edx, dword [esp + 0xc]
pop ecx
call fcn.0041e640
je 0x41345c
mov dword [esp + 0xc], 1
jmp 0x41345e
jmp 0x41342e
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x4134f6
push dword [0x60b3a8]
call fcn.0044e466
mov edx, dword [esp + 8]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
mov ebp, dword [0x60b3ac]
lea eax, [ebp + 8]
push eax
call fcn.004552e0
mov ebx, dword [0x60ab44]
inc ebx
mov dword [0x60ab44], ebx
mov edx, dword [esp + 8]
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455280
lea eax, [esp + 0x14]
push eax
call fcn.004552e0
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 + 0x10]
push edx
call fcn.00455280
call fcn.0041e692
add dword [esp], edx
call fcn.0040bd11
call fcn.0041e6b0
call fcn.004124d0
jmp 0x4133c8
mov ebx, dword [0x60ab44]
cmp ebx, 1
jne 0x413544
push dword [esp + 8]
push dword [0x60aba4]
call fcn.00440b46
mov ebx, dword [0x60ad88]
add ebx, dword [0x60ab44]
mov dword [0x60ad88], ebx
push 1
push dword [0x60ac00]
push dword [0x60ad88]
call fcn.00414c9c
jmp 0x413577
mov ebx, dword [0x60ab44]
cmp ebx, 1
jle 0x413577
mov ebx, dword [0x60ad88]
add ebx, dword [0x60ab44]
mov dword [0x60ad88], ebx
push 1
push dword [0x60ac00]
push dword [0x60ad88]
call fcn.00414c9c
mov eax, 0x57a126
push eax
call fcn.0040bd11
xor eax, eax
push dword [esp + 8]
call fcn.00455440
push dword [esp]
call fcn.00455440
push dword [esp + 0x14]
call fcn.00455440
push dword [esp + 0x10]
call fcn.00455440
add esp, 0x18
pop ebx
pop ebp
ret 8