Function at 0x45b660
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b94c
sub esp, 0x28
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45b692
cmp eax, 0xffffffff
je 0x45b692
mov ecx, dword [esp + 0x2c]
lea edx, [0x7921a0]
jmp 0x45b6a4
mov dword [esp + 0x34], 0
add esp, 0x28
ret
mov edx, dword [edx + 0x118]
test edx, edx
je 0x45b6ba
cmp dword [edx + 0x94], ecx
ja 0x45b69e
cmp dword [edx + 0x98], ecx
jbe 0x45b69e
jmp 0x45b6bc
xor edx, edx
test edx, edx
je 0x45b719
mov dword [esp + 0x24], edx
mov ecx, dword [edx + 0x110]
lea ebx, [0x5f3ae0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040eca0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x45b711
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x94]
mov edx, dword [esp + 0x30]
lea ebx, [ecx + edx]
mov eax, dword [eax + 0x98]
cmp eax, ebx
jb 0x45b89f
mov dword [esp + 0x34], ebx
add esp, 0x28
ret
mov dword [esp + 0x34], eax
add esp, 0x28
ret
mov dword [esp + 0x10], ecx
nop
nop
lea eax, [0x7d3c60]
mov dword [esp], eax
call fcn.0040a140
mov eax, dword [0x7d3c68]
lea ecx, [0x5f37a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.0040eca0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
nop
nop
nop
lea ecx, [0x7d3c60]
mov dword [esp], ecx
call fcn.0040a340
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45b7f4
call fcn.004388b0
lea eax, [0x61ed98]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004391b0
mov eax, dword [esp + 0x30]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439030
lea eax, [0x61af42]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61e21e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004391b0
call fcn.00438920
lea eax, [0x7921a0]
jmp 0x45b881
mov dword [esp + 0x34], eax
add esp, 0x28
ret
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x14], edx
call fcn.004388b0
lea eax, [0x61b51f]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61b686]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00439030
call fcn.00438ad0
call fcn.00438920
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x118]
test eax, eax
jne 0x45b7fc
lea eax, [0x6294ca]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00436e90
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
call fcn.004388b0
lea eax, [0x61ed98]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004391b0
mov eax, dword [esp + 0x30]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439030
lea eax, [0x61d6b2]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a843]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00439030
call fcn.00438ad0
call fcn.00438920
lea eax, [0x626020]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.0045b660