Function at 0x4bf330
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bf584
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x15
jne 0x4bf51f
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x20]
cmp dword [0x7d330c], edx
je 0x4bf376
mov ebx, dword [esp + 0x4c]
and ebx, 0x1f
cmp ebx, 0x18
jne 0x4bf3d6
cmp dword [esp + 0x44], edx
jne 0x4bf3d6
mov ebx, dword [eax + 0x24]
cmp dword [ebx], 0x80
ja 0x4bf3d6
mov edx, dword [esp + 0x48]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
cmp dword [eax], 4
jne 0x4bf507
mov ebp, dword [eax + 4]
test ebp, ebp
je 0x4bf507
test ecx, 0x80
je 0x4bf3b5
mov ebp, dword [esp + 0x3c]
mov ebp, dword [ebp]
jmp 0x4bf3b9
mov ebp, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0045f780
mov eax, dword [esp + 0x10]
jmp 0x4bf478
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x62150c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x16
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
call fcn.004c32b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
test edx, 0x80
jne 0x4bf434
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x38]
cmp dword [eax], 4
jne 0x4bf4ef
mov edx, dword [eax + 4]
test edx, edx
je 0x4bf4ef
mov edx, dword [esp + 0x40]
test edx, 0x80
je 0x4bf460
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx]
jmp 0x4bf464
mov ebx, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045f730
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4bf4d3
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x24]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
or edx, ebx
test edx, 0x60
je 0x4bf49c
mov edx, 0x20
jmp 0x4bf49e
xor edx, edx
movzx ebx, byte [ecx + 0xf]
mov dword [esp], ecx
and ebx, 0x1f
or ebx, edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004bff50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
add esp, 0x34
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
add esp, 0x34
ret
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e12c]
mov dword [esp + 4], eax
call fcn.00436760
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e12c]
mov dword [esp + 4], eax
call fcn.00436760
mov dword [esp + 0x2c], eax
call fcn.004b9390
mov eax, dword [esp]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
lea edx, [0x5fd7e0]
mov dword [esp], edx
call fcn.0040c1e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x4bf579
mov eax, dword [esp + 0x30]
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
lea eax, [0x5f6540]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00436760
mov eax, dword [esp + 0x30]
call fcn.00464380
jmp 0x4bf560
call fcn.00462f70
jmp fcn.004bf330