Function at 0x4bd870
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bdb14
sub esp, 0x48
mov eax, dword [esp + 0x5c]
cmp eax, 1
je 0x4bd8b5
nop
mov ecx, dword [esp + 0x54]
mov edx, ecx
and ecx, 0x1f
cmp ecx, 0x19
jne 0x4bdaaf
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
xor esi, esi
jmp 0x4bd92c
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004bd780
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
add esp, 0x48
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
call fcn.004bd780
mov eax, dword [esp + 0x28]
lea esi, [eax + 1]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, ecx
mov ecx, dword [esp + 0x58]
cmp eax, esi
jle 0x4bda4d
mov dword [esp + 0x28], esi
mov edi, dword [ecx + esi*4]
test esi, esi
jle 0x4bd8f7
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
nop
and edx, 0x1f
mov dword [esp + 0x30], edx
cmp edx, 0x16
je 0x4bd964
mov dword [esp + 0x34], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x34]
jmp 0x4bd9ac
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp], ebx
call fcn.004af050
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 0x19
sete al
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x1f]
test cl, cl
je 0x4bda44
cmp edx, 0x14
ja 0x4bd9d0
lea ecx, [edx - 0x12]
cmp ecx, 1
jbe 0x4bd9f3
cmp edx, 0x14
je 0x4bd9da
jmp 0x4bda75
cmp edx, 0x16
jbe 0x4bd9f3
cmp edx, 0x17
jne 0x4bd9ea
mov ecx, dword [ebp]
test ecx, ecx
setne cl
mov edx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x4bda13
cmp edx, 0x1a
jne 0x4bda75
mov ecx, dword [esp + 0x24]
test ecx, 0x200
jne 0x4bda17
test ecx, 0x80
je 0x4bda0c
mov edx, dword [ebp]
jmp 0x4bda0e
mov edx, ebp
test edx, edx
setne dl
test dl, dl
je 0x4bda5d
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004bd5d0
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
jmp 0x4bd8f7
mov edx, dword [esp + 0x24]
jmp 0x4bd8f7
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edx
add esp, 0x48
ret
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e31c]
mov dword [esp + 4], eax
call fcn.00436760
lea eax, [0x5fd7e0]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x61fde3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
lea ecx, [0x5f6540]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436760
mov dword [esp + 0x30], ecx
call fcn.004b9390
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edx, [0x5fd7e0]
mov dword [esp], edx
call fcn.0040c1e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x4bdb09
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 8], eax
lea eax, [0x5f6540]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00436760
mov eax, dword [esp + 0x44]
call fcn.00464380
jmp 0x4bdaf0
call fcn.00462f70
jmp fcn.004bd870