Function at 0x412a23
Capabilities:
Reference sql statements

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004553e0
push dword [0x60b3a8]
call fcn.0044e3b5
mov dword [esp], eax
mov dword [0x60ab44], 0
mov dword [esp + 4], 0
jmp 0x412a53
push dword [0x60ac0c]
call fcn.00442133
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 4]
jl 0x412d2c
push dword [esp + 4]
push dword [0x60ac0c]
call fcn.00442160
mov ebx, eax
and ebx, ebx
jle 0x412d22
push edx
call fcn.00455240
pop edx
push eax
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0xc]
push dword [0x60ac0c]
call fcn.004421c7
lea eax, [esp + 0xc]
push eax
call fcn.004552e0
push dword [esp + 8]
call fcn.0040e943
and eax, eax
je 0x412b7e
mov dword [esp + 0xc], 0
push dword [0x60b3a8]
call fcn.0044e41d
push dword [0x60b3a8]
call fcn.0044e432
or eax, eax
je 0x412b01
mov ebp, dword [0x60b3ac]
push dword [ebp + 8]
mov edx, dword [esp + 0xc]
pop ecx
call fcn.0041e640
je 0x412aff
mov dword [esp + 0xc], 1
jmp 0x412b01
jmp 0x412ad1
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x412b79
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
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 0x412d22
push edx
call fcn.00455240
pop edx
push eax
push dword [esp + 0xc]
call fcn.004123d1
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.SELECT_key__GROUPS__PRODUCT_FROM_keys_WHERE_NOT_key__AND_Blocked_AND_GROUPS
push edx
call fcn.00455280
mov edx, dword [esp + 0x18]
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 0x412d22
push dword [0x60adb4]
call fcn.0044bd7c
and eax, eax
je 0x412d17
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 0x412c9a
mov ebp, dword [0x60b3ac]
push dword [ebp + 8]
mov edx, dword [esp + 0xc]
pop ecx
call fcn.0041e640
je 0x412c98
mov dword [esp + 0xc], 1
jmp 0x412c9a
jmp 0x412c6a
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x412d12
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
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 0x412c1a
push dword [0x60adb4]
call fcn.0044bdd1
inc dword [esp + 4]
jno 0x412a53
mov ebx, dword [0x60ab44]
cmp ebx, 1
jne 0x412d70
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 0x412da3
mov ebx, dword [0x60ab44]
cmp ebx, 1
jle 0x412da3
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
push dword [0x60ae20]
call fcn.0040c215
xor eax, eax
push dword [esp + 8]
call fcn.00455440
push dword [esp + 0x10]
call fcn.00455440
add esp, 0x14
pop ebx
pop ebp
ret