Function at 0x46fa40
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46fd23
sub esp, 0x28
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46fa70
cmp eax, 0xffffffff
je 0x46fa70
mov ecx, dword [esp + 0x2c]
lea edx, [0x8efde0]
jmp 0x46fa82
mov dword [esp + 0x34], 0
add esp, 0x28
ret
mov edx, dword [edx + 0x120]
test edx, edx
je 0x46fa98
cmp dword [edx + 0x94], ecx
ja 0x46fa7c
cmp dword [edx + 0x98], ecx
jbe 0x46fa7c
jmp 0x46fa9a
xor edx, edx
test edx, edx
je 0x46faf7
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x11c]
lea ebx, [0x6de280]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040d210
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x46faef
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x94]
mov edx, dword [esp + 0x30]
lea ebx, [ecx + edx]
mov eax, dword [eax + 0x98]
cmp eax, ebx
jb 0x46fc78
mov dword [esp + 0x34], ebx
add esp, 0x28
ret
mov dword [esp + 0x34], eax
add esp, 0x28
ret
mov dword [esp + 0x18], ecx
nop
nop
nop
lea eax, [0x91f140]
mov dword [esp], eax
call fcn.0040a2c0
mov eax, dword [0x91f148]
lea ecx, [0x6de2c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.0040d210
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
nop
nop
nop
lea ecx, [0x91f140]
mov dword [esp], ecx
call fcn.0040a4e0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46fbcd
call fcn.00437f30
lea eax, [0x71f97b]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00438790
mov eax, dword [esp + 0x30]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00438620
lea eax, [0x71b98e]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.00438790
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
lea eax, [0x71f1e6]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00438790
call fcn.00437f90
lea eax, [0x8efde0]
jmp 0x46fc5a
mov dword [esp + 0x34], eax
add esp, 0x28
ret
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x1c], edx
call fcn.00437f30
lea eax, [0x71bc84]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00438790
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
lea eax, [0x71c01f]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00438790
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
call fcn.00438130
call fcn.00437f90
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x46fbd5
lea eax, [0x72da2b]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.0046ad70
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
call fcn.00437f30
lea eax, [0x71f97b]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00438790
mov eax, dword [esp + 0x30]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00438620
lea eax, [0x71e369]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00438790
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
lea eax, [0x71b2ed]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00438790
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
call fcn.00438130
call fcn.00437f90
lea eax, [0x7288e5]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0046ad70
nop
call fcn.00470430
jmp fcn.0046fa40