Function at 0x4c8750
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c8dcc
sub esp, 0x54
mov eax, 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x4d66c0]
mov dword [esp], eax
call fcn.0040af50
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004089b0
mov eax, dword [esp + 8]
lea ecx, [0x4d7140]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x4eff81]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7e40
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
jmp 0x4c8812
inc edx
cmp edx, ecx
jge 0x4c8830
jae 0x4c8dbb
movzx ebx, byte [edx + eax]
test bl, bl
jne 0x4c8811
xor eax, eax
lea ecx, [0x50fa60]
xor edx, edx
jmp 0x4c885d
lea edx, [0x4d7300]
mov dword [esp], edx
lea ebx, [ecx + 1]
mov dword [esp + 0x24], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00443c80
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, eax
mov eax, dword [esp + 0x24]
test ecx, ecx
jne 0x4c8da3
test eax, eax
jbe 0x4c8d9a
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
lea ecx, [0x4d56c0]
mov dword [esp], ecx
call fcn.0040af50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c2044]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0xc], 3
call fcn.004867f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4c8932
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x4c88e8
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [0x4eed29]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a5600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x54
ret
lea eax, [0x4f1dbc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov byte [esp + 0x23], 1
lea ecx, [0x4d5500]
mov dword [esp], ecx
call fcn.0040af50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [eax + 4], 0
mov edx, dword [0x7c2064]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.004867f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4c8a10
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x4c89b5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [0x4ed730]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a5600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004c8660
add esp, 0x54
ret
lea eax, [0x4d66c0]
mov dword [esp], eax
call fcn.0040af50
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
lea ecx, [0x4d5500]
mov dword [esp], ecx
call fcn.0040af50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [0x7c2068]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.004867f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4c8aa2
lea edx, [0x4f1db8]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x23], 3
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
xor eax, eax
jmp 0x4c8b15
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x4c8ab9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [0x4ece91]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a5600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004c8660
add esp, 0x54
ret
inc eax
cmp ecx, eax
jle 0x4c8b35
jbe 0x4c8d95
movzx ebp, byte [ebx + eax]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4c8b14
xor eax, eax
lea ecx, [0x50fa60]
xor ebx, ebx
jmp 0x4c8b66
lea eax, [0x4d7300]
mov dword [esp], eax
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00443c80
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov ebx, eax
mov eax, dword [esp + 0x28]
test ecx, ecx
jne 0x4c8d7d
test eax, eax
jbe 0x4c8d74
mov dword [esp + 0x34], ebx
lea eax, [0x4d56c0]
mov dword [esp], eax
call fcn.0040af50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [eax + 4], 1
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov edx, dword [0x7c2058]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0xc], 3
call fcn.004867f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4c8c5b
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x4c8bef
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [0x4ee9d3]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a5600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c8de0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004c8660
add esp, 0x54
ret
lea eax, [0x4d56c0]
mov dword [esp], eax
call fcn.0040af50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov dword [eax + 4], 2
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c206c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0xc], 3
call fcn.004867f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4c8d3e
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x4c8cd2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [0x4ed2ed]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a5600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c8de0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004c8660
add esp, 0x54
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004c8de0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004c8660
add esp, 0x54
ret
mov ecx, eax
xor eax, eax
call fcn.0045a030
lea eax, [0x4d7140]
mov dword [esp], eax
lea eax, [0x50ed5c]
mov dword [esp + 4], eax
call fcn.004319f0
call fcn.0045a030
mov ecx, eax
xor eax, eax
call fcn.0045a030
lea eax, [0x4d7140]
mov dword [esp], eax
lea eax, [0x50ed5c]
mov dword [esp + 4], eax
call fcn.004319f0
mov eax, edx
call fcn.0045a030
nop
call fcn.00430980
add esp, 0x54
ret
call fcn.00458b70
jmp fcn.004c8750