Function at 0x4226c3
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x46fe5e
call fcn.00452eb4
push 0x497bb8
lea ecx, [ebp - 0x1c]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0x497c08
lea ecx, [ebp - 0x18]
call fcn.004012e2
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401103
push 0x497b98
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [eax + 4]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
call fcn.0043ef1e
mov esi, eax
cmp esi, ebx
je 0x4227a9
push 0x497b9c
lea ecx, [ebp + 0x10]
call fcn.004012e2
push esi
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.00411806
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], ebx
je 0x422787
push dword [ebp - 0x10]
call fcn.0043ef12
cmp dword [ebp - 0x14], ebx
je 0x422794
push dword [ebp - 0x14]
call fcn.0043ef12
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
call fcn.00452f8c
ret 0xc
push ebx
push dword [ebp - 0x14]
call fcn.0043ef24
mov esi, eax
cmp esi, ebx
je 0x42280c
push 0x497ba8
lea ecx, [ebp + 0x10]
call fcn.004012e2
push esi
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00411806
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], ebx
je 0x4227f0
push dword [ebp - 0x10]
call fcn.0043ef12
cmp dword [ebp - 0x14], ebx
je 0x4227fd
push dword [ebp - 0x14]
call fcn.0043ef12
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, ebx
jmp 0x4227a1
cmp dword [ebp - 0x10], ebx
je 0x422819
push dword [ebp - 0x10]
call fcn.0043ef12
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.0043ef2a
test eax, eax
jne 0x4227e3
call fcn.0043f3c0
push eax
lea ecx, [ebp + 0xc]
call fcn.004013a1
mov byte [ebp - 4], 6
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013a1
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 7
push 2
push dword [ebp - 0x10]
call fcn.0043a023
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 3
push dword [ebp - 0x10]
call fcn.0043a023
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push esi
call fcn.004074fe
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x4228d9
mov ecx, dword [ebp + 0x10]
push edi
call fcn.004074fe
test eax, eax
je 0x4228d9
cmp dword [esi - 0xc], ebx
je 0x4228a9
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.00435dc1
pop ecx
pop ecx
test eax, eax
je 0x4228c0
cmp dword [edi - 0xc], ebx
je 0x4228d9
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.00435dc1
pop ecx
pop ecx
test eax, eax
jne 0x4228d9
lea ecx, [edi - 0x10]
call fcn.004017df
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.004017df
jmp 0x42280c
push dword [ebp - 0x10]
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
mov dword [ebp + 0x10], 4
call fcn.00422923
lea ecx, [edi - 0x10]
mov dword [ebp + 0x10], eax
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
cmp dword [ebp - 0x10], ebx
je 0x42290e
push dword [ebp - 0x10]
call fcn.0043ef12
cmp dword [ebp - 0x14], ebx
je 0x42291b
push dword [ebp - 0x14]
call fcn.0043ef12
mov ebx, dword [ebp + 0x10]
jmp 0x4227fd